\DMSUploadFieldTest
Synopsis
class DMSUploadFieldTest
extends SapphireTest
{
- // members
- protected DMSUploadField $field;
- // methods
- public void setUp()
- public void testDmsUploadFieldIsInjectable()
- public void testValidatorAlwaysReturnsTrue()
- public void testGetItemHandler()
- public void testCanGetAndSetFolderName()
Hierarchy
Extends
- SapphireTest
Members
protected
- $field — DMSUploadField
Methods
public
- setUp()
- testCanGetAndSetFolderName() — Ensure that the folder name can be get/set and that the value set is casted to a string
- testDmsUploadFieldIsInjectable() — SS 3.x injector will return an overloaded parent of a child class if the child is not injected.
- testGetItemHandler()
- testValidatorAlwaysReturnsTrue() — The validator is coded to always return true. Replace this test if this behaviour changes in future.