public function testManger() { $this->assertInstanceOf('\\HelloWordPl\\SimpleEntityGeneratorBundle\\Lib\\Interfaces\\RenderableInterface', $this->propertyManager); $this->assertInstanceOf('\\HelloWordPl\\SimpleEntityGeneratorBundle\\Lib\\Items\\PropertyManager', $this->propertyManager); $this->assertEquals('User new posts', $this->propertyManager->getComment()); $this->assertEquals('new_posts', $this->propertyManager->getName()); $this->assertEquals('newPosts', $this->propertyManager->getPreparedName()); $this->assertEquals('Doctrine\\Common\\Collections\\ArrayCollection<AppBundle\\Entity\\Post>', $this->propertyManager->getType()); $this->assertEquals('Doctrine\\Common\\Collections\\ArrayCollection', $this->propertyManager->getTypeName()); $this->assertEquals(2, count($this->propertyManager->getConstraints())); }