Class SamlResponseElementMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<Node>
com.atlassian.crowd.acceptance.tests.bettersso.matcher.SamlResponseElementMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<Node>
,org.hamcrest.SelfDescribing
- Direct Known Subclasses:
SamlAssertionMatcher
,SamlAudienceMatcher
,SamlAudienceRestrictionMatcher
,SamlConditionsMatcher
,SamlIssuerMatcher
,SamlNameIdFormatMatcher
,SamlNameIdMatcher
,SamlRootMatcher
,SamlSubjectConfirmationDataMatcher
,SamlSubjectConfirmationMatcher
,SamlSubjectMatcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertElementPresent
(Node node) protected abstract void
assertExtracted
(Node element) void
describeTo
(org.hamcrest.Description description) protected Node
extractElementByNameInAnyNamespace
(String name, Node parent) protected abstract Node
extractFromParent
(Node parent) protected List<SamlResponseElementMatcher>
boolean
matchesSafely
(Node parent) 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
-
SamlResponseElementMatcher
public SamlResponseElementMatcher()
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<Node>
-
describeTo
public void describeTo(org.hamcrest.Description description) -
extractFromParent
- Throws:
Exception
-
assertExtracted
- Throws:
Exception
-
getChildrenMatchers
-
extractElementByNameInAnyNamespace
- Throws:
Exception
-
assertElementPresent
-