AddressTest

38

tests

0

failures

0

ignored

0.158s

duration

100%

successful

Tests

Test Method name Duration Result
shouldAlwaysReturnAnIdFromGetId() shouldAlwaysReturnAnIdFromGetId() 0.002s passed
shouldFailToValidateAddressWhenAddressLine1IsTooLong() shouldFailToValidateAddressWhenAddressLine1IsTooLong() 0.004s passed
shouldFailToValidateAddressWhenAddressLine2IsTooLong() shouldFailToValidateAddressWhenAddressLine2IsTooLong() 0.005s passed
shouldFailToValidateAddressWhenCountyIsTooLong() shouldFailToValidateAddressWhenCountyIsTooLong() 0.003s passed
shouldFailToValidateAddressWhenTownOrCityIsTooLong() shouldFailToValidateAddressWhenTownOrCityIsTooLong() 0.005s passed
[1] AA1122BB shouldFailToValidateAddressWithInvalidPostcode(String)[1] 0.004s passed
[2] A shouldFailToValidateAddressWithInvalidPostcode(String)[2] 0.004s passed
[3] 11AA21 shouldFailToValidateAddressWithInvalidPostcode(String)[3] 0.004s passed
[4] shouldFailToValidateAddressWithInvalidPostcode(String)[4] 0.004s passed
[5] E! shouldFailToValidateAddressWithInvalidPostcode(String)[5] 0.004s passed
[6] EA123 shouldFailToValidateAddressWithInvalidPostcode(String)[6] 0.004s passed
shouldFailToValidateAddressWithNoAddressLine1() shouldFailToValidateAddressWithNoAddressLine1() 0.004s passed
shouldFailToValidateAddressWithNoPostcode() shouldFailToValidateAddressWithNoPostcode() 0.003s passed
shouldFailToValidateAddressWithNoTownOrCity() shouldFailToValidateAddressWithNoTownOrCity() 0.004s passed
[1] GY1 1WR shouldFailValidationWithChannelIslandPostcode(String)[1] 0.005s passed
[2] JE3 1FU shouldFailValidationWithChannelIslandPostcode(String)[2] 0.006s passed
[3] IM1 3LY shouldFailValidationWithChannelIslandPostcode(String)[3] 0.006s passed
[4] Gy1 1wr shouldFailValidationWithChannelIslandPostcode(String)[4] 0.004s passed
[5] je311fu shouldFailValidationWithChannelIslandPostcode(String)[5] 0.005s passed
[6] im13ly shouldFailValidationWithChannelIslandPostcode(String)[6] 0.004s passed
[1] GA11BB shouldPassValidationWithNonChannelIslandPostcode(String)[1] 0.005s passed
[2] JA10AX shouldPassValidationWithNonChannelIslandPostcode(String)[2] 0.004s passed
[3] M11AE shouldPassValidationWithNonChannelIslandPostcode(String)[3] 0.004s passed
[4] IO338GY shouldPassValidationWithNonChannelIslandPostcode(String)[4] 0.004s passed
[5] CY26JE shouldPassValidationWithNonChannelIslandPostcode(String)[5] 0.004s passed
[6] DE551IM shouldPassValidationWithNonChannelIslandPostcode(String)[6] 0.004s passed
[7] DM55 1PT shouldPassValidationWithNonChannelIslandPostcode(String)[7] 0.004s passed
shouldReturnTheSameIdIfOneIsSet() shouldReturnTheSameIdIfOneIsSet() 0.002s passed
[1] EC11BB shouldValidateAddressSuccessfully(String)[1] 0.004s passed
[2] W1A0AX shouldValidateAddressSuccessfully(String)[2] 0.004s passed
[3] M11AE shouldValidateAddressSuccessfully(String)[3] 0.004s passed
[4] B338TH shouldValidateAddressSuccessfully(String)[4] 0.004s passed
[5] CR26XH shouldValidateAddressSuccessfully(String)[5] 0.004s passed
[6] DN551PT shouldValidateAddressSuccessfully(String)[6] 0.004s passed
[7] DN55 1PT shouldValidateAddressSuccessfully(String)[7] 0.003s passed
shouldValidateAddressSuccessfullyWithEmptyCounty() shouldValidateAddressSuccessfullyWithEmptyCounty() 0.006s passed
shouldValidateAddressSuccessfullyWithNoAddressLine2() shouldValidateAddressSuccessfullyWithNoAddressLine2() 0.006s passed
shouldValidateAddressSuccessfullyWithNoCounty() shouldValidateAddressSuccessfullyWithNoCounty() 0.004s passed