Method | Description | |
---|---|---|
provideDataForGetName ( ) | ||
provideInputForFromHash ( ) : array | Provide input to fromHash() method. | |
provideInputForToHash ( ) : array | Provide input for the toHash() method. | |
provideInvalidInputForAcceptValue ( ) | ||
provideValidInputForAcceptValue ( ) |
Method | Description | |
---|---|---|
createFieldTypeUnderTest ( ) : FieldType | Returns the field type under test. | |
getEmptyValueExpectation ( ) | ||
provideFieldTypeIdentifier ( ) |
protected createFieldTypeUnderTest ( ) : FieldType | ||
return | FieldType |
return array(
array(
null,
null
),
array(
array(
'id' => 'some/file/here',
'fileName' => 'sindelfingen.jpg',
'fileSize' => 2342,
'downloadCount' => 0,
'mimeType' => 'image/jpeg',
),
new BinaryFileValue( array(
'id' => 'some/file/here',
'fileName' => 'sindelfingen.jpg',
'fileSize' => 2342,
'downloadCount' => 0,
'mimeType' => 'image/jpeg',
) )
),
...
);
public provideInputForFromHash ( ) : array | ||
return | array |
return array(
array(
null,
null
),
array(
new BinaryFileValue( array(
'id' => 'some/file/here',
'fileName' => 'sindelfingen.jpg',
'fileSize' => 2342,
'downloadCount' => 0,
'mimeType' => 'image/jpeg',
) ),
array(
'id' => 'some/file/here',
'fileName' => 'sindelfingen.jpg',
'fileSize' => 2342,
'downloadCount' => 0,
'mimeType' => 'image/jpeg',
)
),
...
);
public provideInputForToHash ( ) : array | ||
return | array |