/** * @covers CIUnit_Framework_Assert::assertNotInstanceOf() */ public function testAssertThatIsNotInstanceOf() { CIUnit_Framework_Assert::assertNotInstanceOf('RuntimeException', new Exception()); try { CIUnit_Framework_Assert::assertNotInstanceOf('Exception', new Exception()); } catch (CIUnit_Framework_Exception_AssertionFailed $e) { return; } $this->fail(); }