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