public function testCompareValues() { $compare = compare_object_hash_on('strcmp'); $this->assertSame(0, $compare($this, $this)); $this->assertNotSame(0, $compare($this, new stdClass())); }