Phue\Test\Transport\HttpTest::testThrowExceptionByType PHP Method

testThrowExceptionByType() public method

Test: Throw exception by type
public testThrowExceptionByType ( $type, $exceptionName )
    public function testThrowExceptionByType($type, $exceptionName)
    {
        $this->assertInstanceOf($exceptionName, $this->transport->getExceptionByType($type, null));
    }