Exemplo n.º 1
0
 public function testWhetherValidEmailsCanBeSet()
 {
     $user = new User('unittest');
     $user->setEmail('*****@*****.**');
     $this->assertEquals($user->getEmail(), '*****@*****.**', 'Valid emails set with setEmail are not returned by getEmail');
 }