public function it_returns_false_if_host_doesnt_exist(HttpClient $client, Container $ioc) { $id = 1; $client->get('Hosts/Get/' . $id)->shouldBeCalled()->willReturn(Helper::nullResponse()); $ioc->make($this->fqnModel())->shouldNotBeCalled(); $this->has($id)->shouldReturn(false); }