Skip to content

Commit 92855a4

Browse files
committed
update unit test
1 parent 94ccaa4 commit 92855a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/bandwidth/sdk/smoke/PhoneNumberLookupApiTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
import static org.hamcrest.MatcherAssert.assertThat;
3333
import static org.hamcrest.CoreMatchers.instanceOf;
34+
import static org.hamcrest.CoreMatchers.equalTo;
3435
import static org.hamcrest.Matchers.is;
3536

3637
import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*;
@@ -98,7 +99,7 @@ public void createGetAsyncLookupTest() throws ApiException, InterruptedException
9899
assertThat(lookupResponse.getLinks(), instanceOf(List.class));
99100
assertThat(lookupResponse.getLinks().get(0), instanceOf(LinkSchema.class));
100101
assertThat(lookupResponse.getData(), instanceOf(GetAsyncBulkLookupResponseData.class));
101-
assertThat(lookupResponse.getData().getRequestId(), instanceOf(UUID.class));
102+
assertThat(lookupResponse.getData().getRequestId(), equalTo(requestId));
102103
assertThat(lookupResponse.getData().getStatus(), instanceOf(InProgressLookupStatusEnum.class));
103104
assertThat(lookupResponse.getData().getResults(), instanceOf(List.class));
104105
LookupResult firstResult = lookupResponse.getData().getResults().get(0);

0 commit comments

Comments
 (0)