1
1
package com .smartystreets .api .international_street ;
2
2
3
- import com . smartystreets . api . SmartySerializer ;
4
- import org .junit .Test ;
3
+ import static org . junit . Assert . assertEquals ;
4
+ import static org .junit .Assert . assertNotNull ;
5
5
6
6
import java .io .IOException ;
7
7
8
- import static org .junit .Assert .assertEquals ;
9
- import static org .junit .Assert .assertNotNull ;
8
+ import org .junit .Test ;
9
+
10
+ import com .smartystreets .api .SmartySerializer ;
10
11
11
12
public class CandidateTest {
12
13
@@ -31,7 +32,9 @@ public void testAllFieldsFilledCorrectly() throws IOException {
31
32
"\" building_trailing_type\" :\" 44\" ,\" sub_building_type\" :\" 45\" ,\" sub_building_number\" :\" 46\" ," +
32
33
"\" sub_building_name\" :\" 47\" ,\" sub_building\" :\" 48\" ,\" level_type\" :\" 48.1\" ,\" level_number\" :\" 48.2\" ," +
33
34
"\" post_box\" :\" 49\" ,\" post_box_type\" :\" 50\" ," +
34
- "\" post_box_number\" :\" 51\" },\" metadata\" :{\" latitude\" :52.0,\" longitude\" :53.0," +
35
+ "\" post_box_number\" :\" 51\" ,\" additional_content\" :\" 112\" ,\" delivery_installation\" :\" 113\" ," +
36
+ "\" delivery_installation_type\" :\" 114\" ,\" delivery_installation_qualifier_name\" :\" 115\" ,\" route\" :\" 116\" ," +
37
+ "\" route_number\" :\" 117\" ,\" route_type\" :\" 118\" },\" metadata\" :{\" latitude\" :52.0,\" longitude\" :53.0," +
35
38
"\" geocode_precision\" :\" 54\" ,\" max_geocode_precision\" :\" 55\" ,\" address_format\" :\" 56\" }," +
36
39
"\" analysis\" :{\" verification_status\" :\" 57\" ,\" address_precision\" :\" 58\" ,\" max_address_precision\" :\" 59\" ," +
37
40
"\" changes\" :{\" organization\" :\" 60\" ,\" address1\" :\" 61\" ,\" address2\" :\" 62\" ,\" address3\" :\" 63\" ," +
@@ -118,7 +121,13 @@ public void testAllFieldsFilledCorrectly() throws IOException {
118
121
assertEquals ("48.2" , components .getLevelNumber ());
119
122
assertEquals ("49" , components .getPostBox ());
120
123
assertEquals ("50" , components .getPostBoxType ());
121
- assertEquals ("51" , components .getPostBoxNumber ());
124
+ assertEquals ("112" , components .getAdditionalContent ());
125
+ assertEquals ("113" , components .getDeliveryInstallation ());
126
+ assertEquals ("114" , components .getDeliveryInstallationType ());
127
+ assertEquals ("115" , components .getDeliveryInstallationQualifierName ());
128
+ assertEquals ("116" , components .getRoute ());
129
+ assertEquals ("117" , components .getRouteNumber ());
130
+ assertEquals ("118" , components .getRouteType ());
122
131
//endregion
123
132
124
133
//region [ Metadata ]
0 commit comments