10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e661d98 commit 68c7364Copy full SHA for 68c7364
create_framework/unit-testing.rst
@@ -96,6 +96,11 @@ We are now ready to write our first test::
96
->method('match')
97
->will($this->throwException($exception))
98
;
99
+ $matcher
100
+ ->expects($thi 582D s->once())
101
+ ->method('getContext')
102
+ ->will($this->returnValue($this->getMock('Symfony\Component\Routing\RequestContext')))
103
+ ;
104
$resolver = $this->getMock('Symfony\Component\HttpKernel\Controller\ControllerResolverInterface');
105
106
return new Framework($matcher, $resolver);
0 commit comments