/** * @covers CIUnit_Framework_Assert::assertClassHasAttribute() */ public function testAssertClassHasAttribute() { CIUnit_Framework_Assert::assertClassHasAttribute('publicAttribute', 'ClassWithAttributes'); try { CIUnit_Framework_Assert::assertClassHasAttribute('notExistingAttribute', 'ClassWithAttributes'); } catch (CIUnit_Framework_Exception_AssertionFailed $e) { return; } $this->fail(); }