Example #1
0
 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();
 }
Example #2
0
 public function it_should_get_time_from_service(HttpClient $client)
 {
     $client->get('Service/Time')->shouldBeCalled()->willReturn(Helper::timeResponse());
     $this->getTime()->shouldBeInteger();
 }