public function testHashArray() { $hasher = new Hasher(); $this->assertSame(40, strlen($hasher->hashObject(new Hasher()))); $this->assertSame($hasher->hashArray(array('a', 'b')), $hasher->hashArray(array('a', 'b'))); $this->assertNotSame($hasher->hashArray(array('a', 'b')), $hasher->hashArray(array('b', 'a'))); }