/**
  * @group EricssonInt
  */
 public function testGetLifeCycleQuery()
 {
     $sim = $this->simMapper->findOneById("00000000000000000000000000000001", "provider-sp1 (non-commercial)111111111111");
     $sim = $this->simMapper->getLifeCycle($sim);
     $this->assertNotNull($sim->getLifeCycleStatus(), "getLifeCycleStatus is null");
     $this->assertNotNull($sim->getLifeCycleData(), "getLifeCycleData is null");
     $this->assertNotNull($sim->getLifeCycleData()->getChangeReason(), "getChangeReason is null");
     $this->assertNotNull($sim->getLifeCycleData()->getChangeType(), "getChangeType");
     $this->assertNotNull($sim->getLifeCycleData()->getCurrentStatusDate(), "getCurrentStatusChange");
 }
 public function testGetLifeCycleQuery()
 {
     $sim = $this->simMapper->findOneById(self::SIM_ID, self::MASTER_ORG_ID);
     $sim = $this->simMapper->getLifeCycle($sim);
     $this->assertNotNull($sim->getLifeCycleStatus(), "getLifeCycleStatus is null");
     $this->assertNotNull($sim->getLifeCycleData(), "getLifeCycleData is null");
     $this->assertNotNull($sim->getLifeCycleData()->getChangeReason(), "getChangeReason is null");
     $this->assertNotNull($sim->getLifeCycleData()->getChangeType(), "getChangeType");
     $this->assertNotNull($sim->getLifeCycleData()->getCurrentStatusDate(), "getCurrentStatusChange");
 }