You are here

public function FailureTest::testAssertObjectEqualsObject in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/tests/_files/FailureTest.php \FailureTest::testAssertObjectEqualsObject()

File

vendor/phpunit/phpunit/tests/_files/FailureTest.php, line 14

Class

FailureTest

Code

public function testAssertObjectEqualsObject() {
  $a = new StdClass();
  $a->foo = 'bar';
  $b = new StdClass();
  $b->bar = 'foo';
  $this
    ->assertEquals($a, $b, 'message');
}