1 | <?php |
||
6 | class DMSDocumentControllerTest extends SapphireTest |
||
7 | { |
||
8 | protected static $fixture_file = 'dmstest.yml'; |
||
9 | |||
10 | /** |
||
11 | * @var DMSDocument_Controller |
||
12 | */ |
||
13 | protected $controller; |
||
14 | |||
15 | public function setUp() |
||
26 | |||
27 | public function tearDown() |
||
32 | |||
33 | /** |
||
34 | * Test that the download behaviour is either "open" or "download" |
||
35 | * |
||
36 | * @param string $behaviour |
||
37 | * @param string $expectedDisposition |
||
38 | * @dataProvider behaviourProvider |
||
39 | */ |
||
40 | public function testDownloadBehaviourOpen($behaviour, $expectedDisposition) |
||
60 | |||
61 | /** |
||
62 | * @return array[] |
||
63 | */ |
||
64 | public function behaviourProvider() |
||
71 | } |
||
72 |
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.