コード例 #1
0
 public function testGetSetEmailAddress()
 {
     $expected = "*****@*****.**";
     $this->assertEmpty($this->instance->getEmailAddress());
     $this->assertTrue($this->instance->setEmailAddress($expected) instanceof Person);
     $this->assertEquals($expected, $this->instance->getEmailAddress());
 }