PHP Class Neos\Media\Tests\Unit\TypeConverter\ImageInterfaceConverterTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$converter Neos\Media\TypeConverter\ImageInterfaceConverter
$mockObjectManager Neos\Flow\ObjectManagement\ObjectManagerInterface | PHPUnit_Framework_MockObject_MockObject
$mockPersistenceManager Neos\Flow\Persistence\PersistenceManagerInterface | PHPUnit_Framework_MockObject_MockObject
$mockReflectionService Neos\Flow\Reflection\ReflectionService | PHPUnit_Framework_MockObject_MockObject

Public Methods

Method Description
canConvertFromDataProvider ( ) : array
canConvertFromTests ( mixed $source, string $targetType, boolean $expected )
checkMetadata ( )
convertFromReturnsNullIfResourcePropertyIsNotConverted ( )
setUp ( ) : void

Method Details

canConvertFromDataProvider() public method

public canConvertFromDataProvider ( ) : array
return array

canConvertFromTests() public method

public canConvertFromTests ( mixed $source, string $targetType, boolean $expected )
$source mixed
$targetType string
$expected boolean

checkMetadata() public method

public checkMetadata ( )

convertFromReturnsNullIfResourcePropertyIsNotConverted() public method

setUp() public method

public setUp ( ) : void
return void

Property Details

$converter protected property

protected ImageInterfaceConverter,Neos\Media\TypeConverter $converter
return Neos\Media\TypeConverter\ImageInterfaceConverter

$mockObjectManager protected property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement|PHPUnit_Framework_MockObject_MockObject $mockObjectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface | PHPUnit_Framework_MockObject_MockObject

$mockPersistenceManager protected property

protected PersistenceManagerInterface,Neos\Flow\Persistence|PHPUnit_Framework_MockObject_MockObject $mockPersistenceManager
return Neos\Flow\Persistence\PersistenceManagerInterface | PHPUnit_Framework_MockObject_MockObject

$mockReflectionService protected property

protected ReflectionService,Neos\Flow\Reflection|PHPUnit_Framework_MockObject_MockObject $mockReflectionService
return Neos\Flow\Reflection\ReflectionService | PHPUnit_Framework_MockObject_MockObject