SparkPost\Test\SparkPostResponseTest::testWithProtocolVersion PHP Method

testWithProtocolVersion() public method

    public function testWithProtocolVersion()
    {
        $param = 'protocol version';
        $this->responseMock->shouldReceive('withProtocolVersion')->andReturn($this->returnValue);
        $sparkpostResponse = new SparkPostResponse($this->responseMock);
        $this->assertEquals($this->responseMock->withProtocolVersion($param), $sparkpostResponse->withProtocolVersion($param));
    }