Exemple #1
0
 public function testLastNameReturnsDoe()
 {
     $this->assertEquals(Person::lastName(), 'Doe');
 }
Exemple #2
0
 public function testTitleFemale()
 {
     $this->assertContains(Person::titleFemale(), array('Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.'));
 }