コード例 #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->client = static::createClient(array('environment' => $this->getEnvironment()));
     //reset database
     $this->loadFixtures(array());
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->entityManager->close();
 }