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

public abstract class SamlResponseElementMatcher extends org.hamcrest.TypeSafeMatcher<Node>
  • Constructor Details

    • SamlResponseElementMatcher

      public SamlResponseElementMatcher()
  • Method Details

    • matchesSafely

      public boolean matchesSafely(Node parent)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<Node>
    • describeTo

      public void describeTo(org.hamcrest.Description description)
    • extractFromParent

      protected abstract Node extractFromParent(Node parent) throws Exception
      Throws:
      Exception
    • assertExtracted

      protected abstract void assertExtracted(Node element) throws Exception
      Throws:
      Exception
    • getChildrenMatchers

      protected List<SamlResponseElementMatcher> getChildrenMatchers()
    • extractElementByNameInAnyNamespace

      protected Node extractElementByNameInAnyNamespace(String name, Node parent) throws Exception
      Throws:
      Exception
    • assertElementPresent

      protected void assertElementPresent(Node node)