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