Changeset 935
- Timestamp:
- 07/23/08 18:36:23 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/new-router/test/unit2/AkRouter/tests/RouterTest.php
r763 r935 50 50 function testMatchThrowsAnExcpetionIfRequestCannotBeSolved() 51 51 { 52 $Request = new AkRequest();52 $Request = $this->getMock('AkRequest',array(),array(),'',false); 53 53 $PersonRoute = $this->getMock('AkRoute',array(),array('person/:name')); 54 54 $PersonRoute->expects($this->once()) … … 65 65 function testMatchTraversesAllRegisteredRoutesIfFalseIsReturned() 66 66 { 67 $Request = new AkRequest();67 $Request = $this->getMock('AkRequest',array(),array(),'',false); 68 68 $PersonRoute = $this->getMock('AkRoute',array(),array('person/:name')); 69 69 $PersonRoute->expects($this->once())
