@covers PHPUnit_Framework_Assert::assertClassHasAttribute
public function testClassHasPublicAttribute() {
$this
->assertClassHasAttribute('publicAttribute', 'ClassWithNonPublicAttributes');
try {
$this
->assertClassHasAttribute('attribute', 'ClassWithNonPublicAttributes');
} catch (PHPUnit_Framework_AssertionFailedError $e) {
return;
}
$this
->fail();
}