ExternalIdSearch implements ImmutableBean, Iterable<ExternalId>, Serializable { public static ExternalIdSearch of() { return new ExternalIdSearch(ExternalIdSearchType.ANY, ImmutableSet.<ExternalId>of()); } private  ExternalIdSearch(ExternalIdSearchType searchType, Iterable<ExternalId> externalIds); private  ExternalIdSearch(
      Set<ExternalId> externalIds,
      ExternalIdSearchType searchType); static ExternalIdSearch of(); static ExternalIdSearch of(ExternalId... externalIds); static ExternalIdSearch of(ExternalIdSearchType searchType, ExternalId... externalIds); static ExternalIdSearch of(Iterable<ExternalId> externalIds); static ExternalIdSearch of(ExternalIdSearchType searchType, Iterable<ExternalId> externalIds); ExternalIdSearch withExternalIdAdded(ExternalId externalId); ExternalIdSearch withExternalIdsAdded(ExternalId... externalIds); ExternalIdSearch withExternalIdsAdded(Iterable<ExternalId> externalIds); ExternalIdSearch withExternalIdRemoved(ExternalId externalId); ExternalIdSearch withSearchType(ExternalIdSearchType searchType); int size(); Iterator<ExternalId> iterator(); boolean matches(ExternalId otherId); boolean matches(Iterable<ExternalId> otherId); boolean containsAll(Iterable<ExternalId> otherId); boolean containsAny(Iterable<ExternalId> otherId); boolean contains(ExternalId externalId); static boolean canMatch(final ExternalIdSearch idSearch); boolean alwaysMatches(); static ExternalIdSearch.Meta meta(); @Override ExternalIdSearch.Meta metaBean(); @Override Property<R> property(String propertyName); @Override Set<String> propertyNames(); Set<ExternalId> getExternalIds(); ExternalIdSearchType getSearchType(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_constructor_ExternalId_null() { ExternalIdSearch.of((ExternalId) null); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_constructor_varargs_null() { ExternalId[] args = null; ExternalIdSearch.of(args); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_constructor_varargs_noNulls() { ExternalId[] args = new ExternalId[] {_id11, null, _id12}; ExternalIdSearch.of(args); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_constructor_Iterable_null() { ExternalIdSearch.of((Iterable<ExternalId>) null); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_constructor_Iterable_noNulls() { ExternalIdSearch.of(Arrays.asList(_id11, null, _id12)); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_constructor_IterableType_null() { ExternalIdSearch.of(ExternalIdSearchType.EXACT, (Iterable<ExternalId>) null); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_constructor_IterableType_noNulls() { ExternalIdSearch.of(ExternalIdSearchType.EXACT, Arrays.asList(_id11, null, _id12)); }