Package com.atlassian.crowd.pageobjects
Class BrowsePrincipalsPage.PrincipalMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<BrowsePrincipalsPage.Principal>
com.atlassian.crowd.pageobjects.BrowsePrincipalsPage.PrincipalMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<BrowsePrincipalsPage.Principal>
,org.hamcrest.SelfDescribing
- Enclosing class:
- BrowsePrincipalsPage
public static class BrowsePrincipalsPage.PrincipalMatcher
extends org.hamcrest.TypeSafeMatcher<BrowsePrincipalsPage.Principal>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) protected boolean
withDirectoryId
(String directoryId) withDirectoryId
(org.hamcrest.Matcher<String> directoryId) withDisplayName
(String displayName) withDisplayName
(org.hamcrest.Matcher<String> displayName) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
PrincipalMatcher
public PrincipalMatcher()
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<BrowsePrincipalsPage.Principal>
-
withName
-
withName
-
withDisplayName
public BrowsePrincipalsPage.PrincipalMatcher withDisplayName(org.hamcrest.Matcher<String> displayName) -
withDisplayName
-
withEmail
-
withEmail
-
withDirectoryId
public BrowsePrincipalsPage.PrincipalMatcher withDirectoryId(org.hamcrest.Matcher<String> directoryId) -
withDirectoryId
-
describeTo
public void describeTo(org.hamcrest.Description description) -
principal
-