Example #1
0
 /** @test */
 public function should_test_equality()
 {
     $one = new HashedPassword('qcascasercscdccastyuaacaasciop');
     $two = new HashedPassword('qcascasercscdccastyuaacaasciop');
     $three = new HashedPassword('asddfegrthytjtyjtyjtjyjtfghjkl');
     $this->assertTrue($one->equals($two));
     $this->assertFalse($one->equals($three));
 }