/** * @expectedException \Application\Exceptions\InvalidArgumentException */ public function testChangeLifeCycleStateByInvalidType() { $list = "asdfasdf"; $result = $this->simMapper->changeLifeCycleState(\Application\Model\LifeCycleModel::STATUS_SUSPENDED, $list); $this->assertNotNull($result); }