/** * @expectedException LogicException */ public function testShouldThrowAnExceptionWhenTryingToDisconnectWithoutConnect() { $simpleCurl = new SimpleCurl(); $simpleCurl->disconnect(); }