The method assertInstanceOf() does not seem to exist on object<ImageUploadFieldTest>.
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.
The method assertEquals() does not seem to exist on object<ImageUploadFieldTest>.
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.
The method assertEquals() does not seem to exist on object<ImageUploadFieldTest>.
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.
Loading history...
26
}
27
28
/**
29
*
30
*/
31
public function testExtendedField()
32
{
33
34
$imageField = new CustomImageUploadField('testImageField');
The method assertEquals() does not seem to exist on object<ImageUploadFieldTest>.
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.
The method assertEquals() does not seem to exist on object<ImageUploadFieldTest>.
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.
Loading history...
40
41
}
42
43
}
44
45
/**
46
* Class CustomImageUploadField
47
*/
48
class CustomImageUploadField extends ImageUploadField implements TestOnly
PSR1 recommends that each class should be in its own file to aid autoloaders.
Having each class in a dedicated file usually plays nice with PSR autoloaders
and is therefore a well established practice. If you use other autoloaders, you
might not want to follow this rule.