DrestTests\Mapping\AnnotationDriverTest::testNoRepresentationIsAllowed PHP Method

testNoRepresentationIsAllowed() public method

    public function testNoRepresentationIsAllowed()
    {
        $metadataFactory = new MetadataFactory(\Drest\Mapping\Driver\AnnotationDriver::create(array(__DIR__ . '/../Entities/Typical')));
        $className = 'DrestTests\\Entities\\Typical\\NoRepresentation';
        $cmd = $metadataFactory->getMetadataForClass($className);
        $this->assertEmpty($cmd->getRepresentations());
    }