1 | <?php |
||
3 | class DMSUploadFieldTest extends SapphireTest |
||
4 | { |
||
5 | /** |
||
6 | * @var DMSUploadField |
||
7 | */ |
||
8 | protected $field; |
||
9 | |||
10 | public function setUp() |
||
16 | |||
17 | /** |
||
18 | * SS 3.x injector will return an overloaded parent of a child class if the child is not injected. |
||
19 | * This is a sanity check. |
||
20 | */ |
||
21 | public function testDmsUploadFieldIsInjectable() |
||
25 | |||
26 | /** |
||
27 | * The validator is coded to always return true. Replace this test if this behaviour changes in future. |
||
28 | */ |
||
29 | public function testValidatorAlwaysReturnsTrue() |
||
33 | |||
34 | public function testGetItemHandler() |
||
38 | |||
39 | /** |
||
40 | * Ensure that the folder name can be get/set and that the value set is casted to a string |
||
41 | */ |
||
42 | public function testCanGetAndSetFolderName() |
||
49 | } |
||
50 |
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.