com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.matcher
Class IsCollectionOf<T>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.junit.internal.matchers.TypeSafeMatcher<Collection<T>>
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.matcher.IsCollectionOf<T>
- All Implemented Interfaces:
- org.hamcrest.Matcher<Collection<T>>, org.hamcrest.SelfDescribing
public class IsCollectionOf<T>
- extends org.junit.internal.matchers.TypeSafeMatcher<Collection<T>>
- Since:
- v4.3
Methods inherited from class org.junit.internal.matchers.TypeSafeMatcher |
matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
IsCollectionOf
public IsCollectionOf(Collection<T> expected)
matchesSafely
public boolean matchesSafely(Collection<T> given)
- Specified by:
matchesSafely
in class org.junit.internal.matchers.TypeSafeMatcher<Collection<T>>
ofProjectKeys
public static org.hamcrest.Matcher<Collection<String>> ofProjectKeys(List<Project> projects)
ofItems
public static <T> org.hamcrest.Matcher<Collection<T>> ofItems(T... items)
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2002-2012 Atlassian. All Rights Reserved.