com.atlassian.bamboo.matcher.bean
Class IsUserEq<T extends com.atlassian.user.impl.DefaultUser>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
com.atlassian.bamboo.matcher.bean.IsUserEq<T>
- All Implemented Interfaces:
- org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
public class IsUserEq<T extends com.atlassian.user.impl.DefaultUser>
- extends org.hamcrest.TypeSafeMatcher<T>
Constructor Summary |
protected |
IsUserEq(com.atlassian.user.impl.DefaultUser reference,
Class<T> expectedType)
|
Method Summary |
void |
describeTo(org.hamcrest.Description description)
|
static org.hamcrest.Matcher<com.atlassian.user.impl.hibernate3.DefaultHibernateUser> |
equalToUser(com.atlassian.user.impl.hibernate3.DefaultHibernateUser reference)
|
boolean |
matchesSafely(com.atlassian.user.impl.DefaultUser user)
|
Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, describeMismatchSafely, matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
IsUserEq
protected IsUserEq(@NotNull
com.atlassian.user.impl.DefaultUser reference,
Class<T> expectedType)
matchesSafely
public boolean matchesSafely(com.atlassian.user.impl.DefaultUser user)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<T extends com.atlassian.user.impl.DefaultUser>
describeTo
public void describeTo(org.hamcrest.Description description)
equalToUser
public static org.hamcrest.Matcher<com.atlassian.user.impl.hibernate3.DefaultHibernateUser> equalToUser(@NotNull
com.atlassian.user.impl.hibernate3.DefaultHibernateUser reference)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.