tests/Httpful/requestTest.php
/**
     * @author Nick Fox
     * @expectedException        Httpful\Exception\ConnectionErrorException
     * @expectedExceptionMessage Unable to connect
     */
@author Nick Fox
@expectedException        Httpful\Exception\ConnectionErrorException
@expectedExceptionMessage Unable to connect
@author Nick Fox @expectedException Httpful \ Exception \ ConnectionErrorException @expectedExceptionMessage Unable to connect
public function testGet_InvalidURL()
    {
        \Httpful\Request::get('unavailable.url')->whenError(function($error) {})->send();
    }
public function testGet_InvalidURL ( ) { \ Httpful \ Request :: get ( 'unavailable.url' ) -> whenError ( function ( $ error ) { } ) -> send ( ) ; }
@author Nick Fox
 @expectedException        Httpful\Exception\ConnectionErrorException
 @expectedExceptionMessage Unable to connect
@author Nick Fox @expectedException Httpful \ Exception \ ConnectionErrorException @expectedExceptionMessage Unable to connect
// Silence the default logger via whenError override