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