public function testAllGood()
 {
     $entity = new Project();
     $entity->setName('Some proj');
     $entity->setCreatedAt(new \DateTime());
     $entity->setEndAt(new \DateTime('+5 months'));
     $entity->setIsInternal(false);
     $entity->setAm(new AM());
     $validator = $this->getContainer()->get('validator');
     $errors = $validator->validate($entity);
     $this->assertEquals(0, count($errors));
 }