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

    Constructors
    Modifier
    Constructor
    Description
    protected
    IsUserEq(@NotNull com.atlassian.user.impl.DefaultUser reference, Class<T> expectedType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    static org.hamcrest.Matcher<com.atlassian.user.impl.hibernate3.DefaultHibernateUser>
    equalToUser(@NotNull 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • IsUserEq

      protected IsUserEq(@NotNull @NotNull com.atlassian.user.impl.DefaultUser reference, Class<T> expectedType)
  • Method Details

    • 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 @NotNull com.atlassian.user.impl.hibernate3.DefaultHibernateUser reference)