PHP 클래스 Doctrine\Tests\OxmTestCase

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: doctrine/oxm

보호된 메소드들

메소드 설명
_getClassMetadataMock ( string $entityName ) : ClassMetadataInfo
_getMarshaller ( $paths ) : Doctrine\OXM\Marshaller\Marshaller
_getTestXmlEntityManager ( $eventManager = null, $withSharedMetadata = true ) : XmlEntityManager Creates an EntityManager for testing purposes.

비공개 메소드들

메소드 설명
getSharedMetadataCacheImpl ( )

메소드 상세

_getClassMetadataMock() 보호된 메소드

protected _getClassMetadataMock ( string $entityName ) : ClassMetadataInfo
$entityName string
리턴 Doctrine\OXM\Mapping\ClassMetadataInfo

_getMarshaller() 보호된 메소드

protected _getMarshaller ( $paths ) : Doctrine\OXM\Marshaller\Marshaller
$paths
리턴 Doctrine\OXM\Marshaller\Marshaller

_getTestXmlEntityManager() 보호된 메소드

NOTE: The created EntityManager will have its dependant DBAL parts completely mocked out using a DriverMock, ConnectionMock, etc. These mocks can then be configured in the tests to simulate the DBAL behavior that is desired for a particular test,
protected _getTestXmlEntityManager ( $eventManager = null, $withSharedMetadata = true ) : XmlEntityManager
리턴 Doctrine\OXM\XmlEntityManager