public function it_should_get_hardwareid_from_service(HttpClient $client) { $client->get('Service/HardwareId')->shouldBeCalled()->willReturn(Helper::randomStringResponse()); $this->getHardwareId()->shouldBeString(); }