public function tearDown() { if ($this->_sim && $this->_sim->getId()) { $this->_sim->delete(); } if ($this->_user->getId()) { $this->_user->delete(); } }
/** * @expectedException Application\Exceptions\NotFoundException */ public function testRemoveNonexistent() { $this->markTestSkipped(); $sim = new SimModel(); $sim->setId("testNonExistingId"); $sim->delete(); }