@@ -423,6 +423,13 @@ public function testBillingAddress2()
423423 $ this ->assertEquals ('Suburb ' , $ this ->card ->getAddress2 ());
424424 }
425425
426+ public function testBillingAddress3 ()
427+ {
428+ $ this ->card ->setBillingAddress3 ('Building C, Room 308 ' );
429+ $ this ->assertEquals ('Building C, Room 308 ' , $ this ->card ->getBillingAddress3 ());
430+ $ this ->assertEquals ('Building C, Room 308 ' , $ this ->card ->getAddress3 ());
431+ }
432+
426433 public function testBillingCity ()
427434 {
428435 $ this ->card ->setBillingCity ('Quahog ' );
@@ -519,6 +526,12 @@ public function testShippingAddress2()
519526 $ this ->assertEquals ('Suburb ' , $ this ->card ->getShippingAddress2 ());
520527 }
521528
529+ public function testShippingAddress3 ()
530+ {
531+ $ this ->card ->setShippingAddress3 ('Building C, Room 308 ' );
532+ $ this ->assertEquals ('Building C, Room 308 ' , $ this ->card ->getShippingAddress3 ());
533+ }
534+
522535 public function testShippingCity ()
523536 {
524537 $ this ->card ->setShippingCity ('Quahog ' );
@@ -585,6 +598,14 @@ public function testAddress2()
585598 $ this ->assertEquals ('Suburb ' , $ this ->card ->getShippingAddress2 ());
586599 }
587600
601+ public function testAddress3 ()
602+ {
603+ $ this ->card ->setAddress3 ('Building C, Room 308 ' );
604+ $ this ->assertEquals ('Building C, Room 308 ' , $ this ->card ->getAddress3 ());
605+ $ this ->assertEquals ('Building C, Room 308 ' , $ this ->card ->getBillingAddress3 ());
606+ $ this ->assertEquals ('Building C, Room 308 ' , $ this ->card ->getShippingAddress3 ());
607+ }
608+
588609 public function testCity ()
589610 {
590611 $ this ->card ->setCity ('Quahog ' );
0 commit comments