function test_make_ping_responce_invalid_state() { $this->setExpectedException('invalid_state_exception'); $rmt = new mdl_remotes(); $rmt->make_ping_response('invalid'); }