PHP Class Neos\Media\Tests\Functional\Domain\Model\AssetTest

Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$assetRepository Neos\Media\Domain\Repository\AssetRepository
$resourceManager Neos\Flow\ResourceManagement\ResourceManager
$tagRepository Neos\Media\Domain\Repository\TagRepository
$testablePersistenceEnabled boolean

Public Methods

Method Description
addTag ( )
setTags ( )
setUp ( ) : void

Protected Methods

Method Description
assertAssetHasTags ( Asset $asset, $tagLabels )
buildAssetObject ( ) : Asset

Method Details

addTag() public method

public addTag ( )

assertAssetHasTags() protected method

protected assertAssetHasTags ( Asset $asset, $tagLabels )
$asset Neos\Media\Domain\Model\Asset
$tagLabels

buildAssetObject() protected method

protected buildAssetObject ( ) : Asset
return Neos\Media\Domain\Model\Asset

setTags() public method

public setTags ( )

setUp() public method

public setUp ( ) : void
return void

Property Details

$assetRepository protected property

protected AssetRepository,Neos\Media\Domain\Repository $assetRepository
return Neos\Media\Domain\Repository\AssetRepository

$resourceManager protected property

protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager
return Neos\Flow\ResourceManagement\ResourceManager

$tagRepository protected property

protected TagRepository,Neos\Media\Domain\Repository $tagRepository
return Neos\Media\Domain\Repository\TagRepository

$testablePersistenceEnabled protected static property

protected static bool $testablePersistenceEnabled
return boolean