/** * @depends testBaseLoopBreak * @expectedException \PHPUnit_Framework_Error */ public function testBaseLoopExit() { $base = new EventBase(); $this->assertInstanceOf('Libevent\\Base\\EventBaseInterface', $base->loopExit()); $base->free(); $base->loopExit(); }