public function testGetLifeCycleHistoryEmpty()
 {
     $sim = new SimModel();
     $sim->setId('00000000000000000000000000000002');
     $from = '2011-07-15';
     $until = '2011-08-20';
     $this->assertInstanceOf('\\Application\\Model\\SimModel', $sim);
     $data = $this->simMapper->getLifeCycleHistory($sim, $from, $until);
     $this->assertInternalType('array', $data);
     $this->assertEmpty($data);
 }
Пример #2
0
 /**
  * @expectedException Application\Exceptions\NotFoundException
  */
 public function testRemoveNonexistent()
 {
     $this->markTestSkipped();
     $sim = new SimModel();
     $sim->setId("testNonExistingId");
     $sim->delete();
 }