1 | <?php |
||
35 | abstract class ContainerTestCase extends FragmentTestCase |
||
36 | { |
||
37 | /** |
||
38 | * @var string the name of the controller to use |
||
39 | */ |
||
40 | protected $controllerName; |
||
41 | |||
42 | /** |
||
43 | * @var string the name of the module the controller resides in |
||
44 | */ |
||
45 | protected $moduleName; |
||
46 | |||
47 | /** |
||
48 | * @var Response the response after the dispatch call |
||
49 | */ |
||
50 | protected $response; |
||
51 | |||
52 | /** |
||
53 | * dispatch the request |
||
54 | * |
||
55 | * @author Felix Gilcher <[email protected]> |
||
56 | * @since 1.0.0 |
||
57 | */ |
||
58 | public function execute($arguments = null, $outputType = null, $requestMethod = null) |
||
71 | |||
72 | /** |
||
73 | * assert that the response has a given tag |
||
74 | * |
||
75 | * @see the documentation of PHPUnit's assertTag() |
||
76 | * |
||
77 | * @param array $matcher the matcher describing the tag |
||
78 | * @param string $message an optional message |
||
79 | * @param bool $isHtml |
||
80 | * |
||
81 | * @author Felix Gilcher <[email protected]> |
||
82 | * @since 1.0.0 |
||
83 | */ |
||
84 | public function assertResponseHasTag($matcher, $message = '', $isHtml = true) |
||
88 | |||
89 | |||
90 | /** |
||
91 | * assert that the response does not have a given tag |
||
92 | * |
||
93 | * @see the documentation of PHPUnit's assertTag() |
||
94 | * |
||
95 | * @author Felix Gilcher <[email protected]> |
||
96 | * @since 1.0.0 |
||
97 | */ |
||
98 | public function assertResponseHasNotTag($matcher, $message = '', $isHtml = true) |
||
102 | } |
||
103 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.