spec/Clusterpoint/Instance/ServiceSpec.php
function it_parses_first()
    {
        $this->beConstructedWith(new ConnectionFaker);
        $response = $this->first();
        $response->executedQuery()->shouldReturn('SELECT * FROM database LIMIT 0, 1');
        $response->shouldReturnAnInstanceOf('\Clusterpoint\Response\Single');
        $response->shouldBeAnInstanceOf('\Clusterpoint\Response\Response');
        $response->shouldImplement('\Clusterpoint\Contracts\ResponseInterface');
    }
function it_parses_first()
    {
        $this->beConstructedWith(new ConnectionFaker);
        $response = $this->first();
        $response->executedQuery()->shouldReturn('SELECT * FROM database LIMIT 0, 1');
        $response->shouldReturnAnInstanceOf('\Clusterpoint\Response\Single');
        $response->shouldBeAnInstanceOf('\Clusterpoint\Response\Response');
        $response->shouldImplement('\Clusterpoint\Contracts\ResponseInterface');
    }
First