Lemon\RestBundle\Tests\Controller\MongoResourceControllerTest::tearDown PHP Method

tearDown() public method

public tearDown ( )
    public function tearDown()
    {
        $qb = $this->doctrine->getManager()->createQueryBuilder('Lemon\\RestBundle\\Tests\\Fixtures\\Person');
        $qb->remove()->getQuery()->execute();
        $qb = $this->doctrine->getManager()->createQueryBuilder('Lemon\\RestBundle\\Tests\\Fixtures\\Car');
        $qb->remove()->getQuery()->execute();
        $qb = $this->doctrine->getManager()->createQueryBuilder('Lemon\\RestBundle\\Tests\\Fixtures\\Place');
        $qb->remove()->getQuery()->execute();
        $qb = $this->doctrine->getManager()->createQueryBuilder('Lemon\\RestBundle\\Tests\\Fixtures\\Tag');
        $qb->remove()->getQuery()->execute();
        $qb = $this->doctrine->getManager()->createQueryBuilder('Lemon\\RestBundle\\Tests\\Fixtures\\FootballTeam');
        $qb->remove()->getQuery()->execute();
    }
MongoResourceControllerTest