コード例 #1
0
ファイル: AddressTest.php プロジェクト: extcode/cart
 /**
  * @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());
 }