| 1 | <?php |
||
| 4 | |||
| 5 | use Object; |
||
| 6 | use SapphireTest; |
||
| 7 | use SS_HTTPRequest; |
||
| 8 | use TestOnly; |
||
| 9 | |||
| 10 | class PaginationExtensionTest extends SapphireTest { |
||
| 11 | |||
| 12 | private $controller; |
||
| 13 | |||
| 14 | public function setUp() { |
||
| 19 | |||
| 20 | public function testDefaultLimit() { |
||
| 21 | $this->assertEquals(20, $this->controller->getLimit(new SS_HTTPRequest("GET", "/"))); |
||
|
|
|||
| 22 | } |
||
| 38 | } |
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.