Пример #1
0
 /**
  * @test
  */
 public function getSalutationTitleFullNameWithTitleReturnsCorrectConcatenation()
 {
     $salutation = 'salutation';
     $this->address->setSalutation($salutation);
     $title = 'title';
     $this->address->setTitle($title);
     $firstName = 'first name';
     $this->address->setFirstName($firstName);
     $lastName = 'last name';
     $this->address->setLastName($lastName);
     $this->assertEquals($salutation . ' ' . $title . ' ' . $firstName . ' ' . $lastName, $this->address->getSalutationTitleFullName());
 }