11package org .hamcrest ;
22
33import org .hamcrest .collection .ArrayMatching ;
4+ import org .hamcrest .core .IsIterableContaining ;
45import org .hamcrest .core .StringRegularExpression ;
56
67import java .util .regex .Pattern ;
@@ -249,7 +250,7 @@ public static org.hamcrest.Matcher<java.lang.Object> anything(java.lang.String d
249250 * the matcher to apply to items provided by the examined {@link Iterable}
250251 */
251252 public static <T > org .hamcrest .Matcher <java .lang .Iterable <? super T >> hasItem (org .hamcrest .Matcher <? super T > itemMatcher ) {
252- return org . hamcrest . core . IsCollectionContaining .hasItem (itemMatcher );
253+ return IsIterableContaining .hasItem (itemMatcher );
253254 }
254255
255256 /**
@@ -264,7 +265,7 @@ public static <T> org.hamcrest.Matcher<java.lang.Iterable<? super T>> hasItem(or
264265 * the item to compare against the items provided by the examined {@link Iterable}
265266 */
266267 public static <T > org .hamcrest .Matcher <java .lang .Iterable <? super T >> hasItem (T item ) {
267- return org . hamcrest . core . IsCollectionContaining .hasItem (item );
268+ return IsIterableContaining .hasItem (item );
268269 }
269270
270271 /**
@@ -280,7 +281,7 @@ public static <T> org.hamcrest.Matcher<java.lang.Iterable<? super T>> hasItem(T
280281 */
281282 @ SafeVarargs
282283 public static <T > org .hamcrest .Matcher <java .lang .Iterable <T >> hasItems (org .hamcrest .Matcher <? super T >... itemMatchers ) {
283- return org . hamcrest . core . IsCollectionContaining .hasItems (itemMatchers );
284+ return IsIterableContaining .hasItems (itemMatchers );
284285 }
285286
286287 /**
@@ -296,7 +297,7 @@ public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcr
296297 */
297298 @ SafeVarargs
298299 public static <T > org .hamcrest .Matcher <java .lang .Iterable <T >> hasItems (T ... items ) {
299- return org . hamcrest . core . IsCollectionContaining .hasItems (items );
300+ return IsIterableContaining .hasItems (items );
300301 }
301302
302303 /**
0 commit comments