Exemplo n.º 1
0
 public void GetHouseNumberAndSuffix(string address1, string address2, string address3, string expectedHouseNumber, string expectedSuffix)
 {
     string[] houseNumberAndSuffix = StringOperations.GetHouseNumberAndSuffix(address1, address2, address3);
     houseNumberAndSuffix[0].ShouldBe(string.Join(' ', address1, address2, address3).Trim());
     houseNumberAndSuffix[1].ShouldBe(expectedHouseNumber);
     houseNumberAndSuffix[2].ShouldBe(expectedSuffix);
 }