File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
main/java/com/bandwidth/iris/sdk/model
test/java/com/bandwidth/iris/sdk Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public void setAddress(Address address) {
77
77
this .address = address ;
78
78
}
79
79
80
- public String getSubcsriberType () {
80
+ public String getSubscriberType () {
81
81
return subscriberType ;
82
82
}
83
83
Original file line number Diff line number Diff line change 1
1
package com .bandwidth .iris .sdk ;
2
2
3
3
import com .bandwidth .iris .sdk .model .DldaOrder ;
4
+ import com .bandwidth .iris .sdk .model .DldaTnGroup ;
4
5
import com .bandwidth .iris .sdk .model .DldaOrderResponse ;
5
6
import com .bandwidth .iris .sdk .utils .XmlUtils ;
6
7
import org .junit .Test ;
@@ -29,5 +30,17 @@ public void testCreate() throws Exception {
29
30
assertEquals (theOrder .getDldaTnGroups ().size (), 1 );
30
31
assertEquals (theOrder .getDldaTnGroups ().get (0 ).getTelephoneNumberList ().get (0 ), "5202217754" );
31
32
assertEquals (theOrder .getProcessingStatus (), "RECEIVED" );
33
+
32
34
}
35
+
36
+ @ Test
37
+ public void testCreate2 () throws Exception {
38
+
39
+ DldaTnGroup dldaTnGroup = new DldaTnGroup ();
40
+ dldaTnGroup .getTelephoneNumberList ().add ("9195551212" );
41
+ dldaTnGroup .setAccountType ("RESIDENTIAL" );
42
+ dldaTnGroup .setListingType ("LISTED" );
43
+ dldaTnGroup .setSubscriberType ("BUSINESS" );
44
+ assertEquals (dldaTnGroup .getSubscriberType (), "BUSINESS" );
45
+ }
33
46
}
You can’t perform that action at this time.
0 commit comments