@covers PHPUnit_Framework_Assert::assertNotContains
public function testAssertArrayNotContainsObject() {
$a = new stdClass();
$b = new stdClass();
$this
->assertNotContains($a, array(
$b,
));
try {
$this
->assertNotContains($a, array(
$a,
));
} catch (PHPUnit_Framework_AssertionFailedError $e) {
return;
}
$this
->fail();
}