@covers PHPUnit_Framework_Assert::assertAttributeEmpty
public function testAssertAttributeEmpty() {
$o = new StdClass();
$o->a = array();
$this
->assertAttributeEmpty('a', $o);
try {
$o->a = array(
'b',
);
$this
->assertAttributeEmpty('a', $o);
} catch (PHPUnit_Framework_AssertionFailedError $e) {
return;
}
$this
->fail();
}