public function it_should_get_last_user_logout_time(HttpClient $client) { $client->get("Host/GetLastUserLogout", ['hostId' => $this->getPrimaryKeyValue()])->shouldBeCalled()->willReturn(Helper::timeResponse()); $this->getLastUserLogoutTime()->shouldBeInteger(); }
public function it_should_get_time_from_service(HttpClient $client) { $client->get('Service/Time')->shouldBeCalled()->willReturn(Helper::timeResponse()); $this->getTime()->shouldBeInteger(); }