public function doRequestThrowsExceptionIfOutputIsNotSet()
{
$this->setExpectedException('Exception', "No output found");
$connectionMock = $this->getMockBuilder('\\AwsInspector\\Ssh\\Connection')->disableOriginalConstructor()->getMock();
$connectionMock->method('exec')->willReturn(['returnVar' => 0]);
$curl = new \AwsInspector\Helper\Curl('http://google.com', [], $connectionMock);
$curl->doRequest();
}