public function testSetEmailGetEmail()
 {
     $firstEmail = $this->getMockEmail();
     $anotherEmail = $this->getMockEmail();
     $user1 = new User($firstEmail);
     $user2 = $user1->setEmail($anotherEmail);
     $this->assertEquals($user1, $user2);
     $this->assertSame($anotherEmail, $user2->getEmail());
 }