Пример #1
0
 /**
  * {@inheritdoc}
  */
 protected function assertPreConditions()
 {
     $this->assertInstanceOf('JLM\\ContactBundle\\Model\\CityInterface', $this->entity);
     $this->assertNull($this->entity->getId());
     $this->assertSame('', $this->entity->getName());
     $this->assertSame('', $this->entity->getZip());
     $this->assertNull($this->entity->getCountry());
     $this->assertSame('', $this->entity->__toString());
 }