function it_search_things(Client $client) { $query = 'foo'; $client->get(Search::ENDPOINT, ['query' => ['query' => $query]]); $this->query($query); }
function it_should_get_a_task(Client $client) { $client->get(Argument::type('string'))->shouldBeCalled(); $this->find(Argument::type('string')); }
function it_should_get_a_field_value(Client $client) { $client->get(Argument::type('string'))->shouldBeCalled(); $this->getValue(Argument::type('string'), Argument::type('string')); }
function it_should_allow_to_specify_detail_for_all(Client $client) { $detailLevel = 'ALL'; $client->get(Argument::type('string'), ['query' => ['detailLevel' => $detailLevel]]); $this->all($detailLevel); }
function it_should_find_a_pipeline(Client $client) { $client->get(Argument::type('string'))->shouldBeCalled(); $this->find(Argument::type('string')); }
function it_should_get_a_file_link(Client $client) { $client->get(Argument::type('string'), [], false)->shouldBeCalled(); $this->getLink(Argument::type('string')); }