コード例 #1
0
 public function setUp()
 {
     Bootstrap::initDatabase();
     $entityManager = Bootstrap::getEntityManager();
     $classMetaData = new ClassMetadata('Markov\\Entity\\User');
     $this->repository = new UserRepository($entityManager, $classMetaData);
 }