Class IsUserEq<T extends com.atlassian.user.impl.DefaultUser>

  • 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

      All Methods Static Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • IsUserEq

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

      • 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)