Property | Type | Description | |
---|---|---|---|
$gatewayMock | Object state gateway mock. | ||
$mapperMock | Object state mapper mock. | ||
$objectStateHandler | Object state handler. |
Method | Description | |
---|---|---|
testCreate ( ) | ||
testCreateGroup ( ) | ||
testDelete ( ) | ||
testDeleteGroup ( ) | ||
testDeleteThrowsNotFoundException ( ) | ||
testGetContentCount ( ) | ||
testGetContentState ( ) | ||
testLoad ( ) | ||
testLoadAllGroups ( ) | ||
testLoadByIdentifier ( ) | ||
testLoadByIdentifierThrowsNotFoundException ( ) | ||
testLoadGroup ( ) | ||
testLoadGroupByIdentifier ( ) | ||
testLoadGroupByIdentifierThrowsNotFoundException ( ) | ||
testLoadGroupThrowsNotFoundException ( ) | ||
testLoadObjectStates ( ) | ||
testLoadThrowsNotFoundException ( ) | ||
testSetContentState ( ) | ||
testSetPriority ( ) | ||
testUpdate ( ) | ||
testUpdateGroup ( ) |
Method | Description | |
---|---|---|
getGatewayMock ( ) : |
Returns a mock for the object state gateway. | |
getInputStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct | Returns the InputStruct. | |
getMapperMock ( ) : |
Returns an object state mapper mock. | |
getObjectStateFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState | Returns an object state. | |
getObjectStateGroupFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\Group | Returns an object state group. | |
getObjectStateHandler ( ) : |
Returns the object state handler to test. |
protected getGatewayMock ( ) : |
||
return |
protected getInputStructFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct | ||
return | eZ\Publish\SPI\Persistence\Content\ObjectState\InputStruct |
protected getMapperMock ( ) : |
||
return |
protected getObjectStateFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState | ||
return | eZ\Publish\SPI\Persistence\Content\ObjectState |
protected getObjectStateGroupFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\Group | ||
return | eZ\Publish\SPI\Persistence\Content\ObjectState\Group |
protected getObjectStateHandler ( ) : |
||
return |
public testLoadByIdentifierThrowsNotFoundException ( ) |
public testLoadGroupThrowsNotFoundException ( ) |
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\ObjectState $gatewayMock | ||
return |
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content\ObjectState $mapperMock | ||
return |