@covers PHPUnit_Framework_Assert::assertAttributeLessThanOrEqual
public function testAttributeLessThanOrEqual() {
$this
->assertAttributeLessThanOrEqual(2, 'foo', new ClassWithNonPublicAttributes());
try {
$this
->assertAttributeLessThanOrEqual(1, 'bar', new ClassWithNonPublicAttributes());
} catch (PHPUnit_Framework_AssertionFailedError $e) {
return;
}
$this
->fail();
}