spec/Clusterpoint/Instance/ServiceSpec.php
function it_parses_get()
    {
        $this->beConstructedWith(new ConnectionFaker);
        $response = $this->get();
        $response->executedQuery()->shouldReturn('SELECT * FROM database LIMIT 0, 20');
        $response->shouldReturnAnInstanceOf('\Clusterpoint\Response\Batch');
        $response->shouldBeAnInstanceOf('\Clusterpoint\Response\Response');
        $response->shouldImplement('\Clusterpoint\Contracts\ResponseInterface');
    }
function it_parses_get()
    {
        $this->beConstructedWith(new ConnectionFaker);
        $response = $this->get();
        $response->executedQuery()->shouldReturn('SELECT * FROM database LIMIT 0, 20');
        $response->shouldReturnAnInstanceOf('\Clusterpoint\Response\Batch');
        $response->shouldBeAnInstanceOf('\Clusterpoint\Response\Response');
        $response->shouldImplement('\Clusterpoint\Contracts\ResponseInterface');
    }
function it_parses_get ( ) { $ this -> beConstructedWith ( new ConnectionFaker ) ; $ response = $ this -> get ( ) ; $ response -> executedQuery ( ) -> shouldReturn ( 'SELECT * FROM database LIMIT 0, 20' ) ; $ response -> shouldReturnAnInstanceOf ( '\Clusterpoint\Response\Batch' ) ; $ response -> shouldBeAnInstanceOf ( '\Clusterpoint\Response\Response' ) ; $ response -> shouldImplement ( '\Clusterpoint\Contracts\ResponseInterface' ) ; }
Get
Get