Property | Type | Description | |
---|---|---|---|
$contentTypeDomainMapperMock |
Method | Description | |
---|---|---|
testResolveNameSchema ( ) | Test eZ\Publish\Core\Repository\Helper\NameSchemaService method. | |
testResolveNameSchemaWithFields ( ) | Test eZ\Publish\Core\Repository\Helper\NameSchemaService method. | |
testResolveUrlAliasSchema ( ) | Test eZ\Publish\Core\Repository\Helper\NameSchemaService method. | |
testResolveUrlAliasSchemaFallbackToNameSchema ( ) | Test eZ\Publish\Core\Repository\Helper\NameSchemaService method. |
Method | Description | |
---|---|---|
buildTestObjects ( $nameSchema = '<name_schema>', $urlAliasSchema = '<urlalias_schema>' ) : eZ\Publish\API\Repository\Values\Content\Content | Builds stubbed content for testing purpose. | |
getContentTypeDomainMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
||
getFieldDefinitions ( ) : |
||
getFields ( ) : eZ\Publish\API\Repository\Values\Content\Field[] | ||
getPartlyMockedNameSchemaService ( array $methods = null ) : |
Returns the content service to test with $methods mocked. |
protected buildTestObjects ( $nameSchema = '<name_schema>', $urlAliasSchema = '<urlalias_schema>' ) : eZ\Publish\API\Repository\Values\Content\Content | ||
return | eZ\Publish\API\Repository\Values\Content\Content |
protected getContentTypeDomainMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | |
||
return | PHPUnit_Framework_MockObject_MockObject | |
protected getFieldDefinitions ( ) : |
||
return |
protected getFields ( ) : eZ\Publish\API\Repository\Values\Content\Field[] | ||
return | eZ\Publish\API\Repository\Values\Content\Field[] |
protected getPartlyMockedNameSchemaService ( array $methods = null ) : |
||
$methods | array | |
return |
public testResolveNameSchema ( ) |
public testResolveNameSchemaWithFields ( ) |
public testResolveUrlAliasSchema ( ) |