We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6cde7f commit 4319ff4Copy full SHA for 4319ff4
src/test/java/org/zendesk/client/v2/RealSmokeTest.java
@@ -1594,7 +1594,7 @@ public void lookupOrganizationByExternalId() throws Exception {
1594
assertNotNull(resultOrganization);
1595
1596
Iterable<Organization> or = instance.lookupOrganizationsByExternalId("i");
1597
- assertTrue(or.iterator().hasNext());
+ assertEquals(1, StreamSupport.stream(or.spliterator(), false).count());
1598
1599
assertThrows(IllegalArgumentException.class, () -> instance.lookupOrganizationsByExternalId(""));
1600
}
0 commit comments