/** * Tears down this test suite. * * @return void */ public function tearDown() { $this->testingFramework->cleanUp(); // clean up environment $this->dropDummyTable(); $this->dropDummyField(); unset($this->testingFramework); unset($this->collectionRecord); unset($this->fixture); unset($this->database); }
/** * @test */ public function cleanUpDiscardsFakeFrontEnd() { $this->subject->createFrontEndPage(); $this->subject->createFakeFrontEnd(); $this->subject->cleanUp(); self::assertFalse($this->subject->hasFakeFrontEnd()); }
protected function tearDown() { $this->testingFramework->cleanUp(); }
/** * Tear down and remove records * * @return void */ public function tearDown() { $this->testingFramework->cleanUp(); unset($this->testingFramework); }
/** * Tear down * * @return void */ public function tearDown() { unset($this->bannerService); $this->testingFramework->cleanUp(); unset($this->testingFramework, $this->bannerRepository); }
/** * @test */ public function cleanUpDiscardsFakeFrontEnd() { $this->fixture->createFakeFrontEnd(); $this->fixture->cleanUp(); $this->assertFalse($this->fixture->hasFakeFrontEnd()); }