@@ -571,6 +571,9 @@ void givenInvalidEmergencyEvacuationApplicationRequest_whenPhoneNumberIsNotValid
571
571
@ ParameterizedTest
572
572
@ ValueSource (strings = {
573
573
"" ,
574
+ "Mary*land" ,
575
+ "Mary$land" ,
576
+ "CityName$" ,
574
577
"Invalid with special characters: #$%" ,
575
578
"#$½#$£#$£#$$#½#£$£#$#£½#$½#$½$£#$#£$$#½#$$½" ,
576
579
".,..,.,.,.,.,,.,.,.,.,.,.,.,.,..,.,.,,.,.,.," ,
@@ -606,6 +609,9 @@ void givenInvalidEmergencyEvacuationApplicationRequest_whenSourceCityIsNotValid_
606
609
@ ParameterizedTest
607
610
@ ValueSource (strings = {
608
611
"" ,
612
+ "Mary*land" ,
613
+ "Mary$land" ,
614
+ "CityName$" ,
609
615
"Invalid with special characters: #$%" ,
610
616
"#$½#$£#$£#$$#½#£$£#$#£½#$½#$½$£#$#£$$#½#$$½" ,
611
617
".,..,.,.,.,.,,.,.,.,.,.,.,.,.,..,.,.,,.,.,.," ,
@@ -697,6 +703,9 @@ void givenInvalidEmergencyEvacuationApplicationRequest_whenAddressIsNotValid_the
697
703
@ ParameterizedTest
698
704
@ ValueSource (strings = {
699
705
"" ,
706
+ "Mary*land" ,
707
+ "Mary$land" ,
708
+ "CityName$" ,
700
709
"Invalid with special characters: #$%" ,
701
710
"#$½#$£#$£#$$#½#£$£#$#£½#$½#$½$£#$#£$$#½#$$½" ,
702
711
".,..,.,.,.,.,,.,.,.,.,.,.,.,.,..,.,.,,.,.,.," ,
@@ -732,6 +741,9 @@ void givenInvalidEmergencyEvacuationApplicationRequest_whenTargetCityIsNotValid_
732
741
@ ParameterizedTest
733
742
@ ValueSource (strings = {
734
743
"" ,
744
+ "Mary*land" ,
745
+ "Mary$land" ,
746
+ "CityName$" ,
735
747
"Invalid with special characters: #$%" ,
736
748
"#$½#$£#$£#$$#½#£$£#$#£½#$½#$½$£#$#£$$#½#$$½" ,
737
749
".,..,.,.,.,.,,.,.,.,.,.,.,.,.,..,.,.,,.,.,.," ,
@@ -740,7 +752,7 @@ void givenInvalidEmergencyEvacuationApplicationRequest_whenTargetCityIsNotValid_
740
752
"151201485621548562154851458614125461254125412" ,
741
753
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam In hac habitasse platea dictumst. Nullam in turpis at nunc ultrices." ,
742
754
})
743
- void givenInvalidEmergencyEvacuationApplicationRequest_whenSourceTargetIsNotValid_thenReturnValidationError (String targetDistrict ) throws Exception {
755
+ void givenInvalidEmergencyEvacuationApplicationRequest_whenTargetDistrictIsNotValid_thenReturnValidationError (String targetDistrict ) throws Exception {
744
756
// Given
745
757
EmergencyEvacuationApplicationRequest mockApplicationRequest = new EmergencyEvacuationRequestBuilder ()
746
758
.withValidValues ()
@@ -766,6 +778,7 @@ void givenInvalidEmergencyEvacuationApplicationRequest_whenSourceTargetIsNotVali
766
778
767
779
@ ParameterizedTest
768
780
@ ValueSource (strings = {
781
+ " " ,
769
782
"Invalid with special characters: #$%" ,
770
783
"#$½#$£#$£#$$#½#£$£#$#£½#$½#$½$£#$#£$$#½#$$½" ,
771
784
".,..,.,.,.,.,,.,.,.,.,.,.,.,.,..,.,.,,.,.,.," ,
@@ -800,6 +813,7 @@ void givenInvalidEmergencyEvacuationApplicationRequest_whenApplicantFirstNameIsN
800
813
801
814
@ ParameterizedTest
802
815
@ ValueSource (strings = {
816
+ " " ,
803
817
"Invalid with special characters: #$%" ,
804
818
"#$½#$£#$£#$$#½#£$£#$#£½#$½#$½$£#$#£$$#½#$$½" ,
805
819
".,..,.,.,.,.,,.,.,.,.,.,.,.,.,..,.,.,,.,.,.," ,
0 commit comments