Class DefaultMetadataPolicyEnforcerTest


  • public class DefaultMetadataPolicyEnforcerTest
    extends Object
    Unit tests for DefaultMetadataPolicyEnforcer.
    • Field Detail

      • applier

        net.shibboleth.oidc.metadata.policy.impl.DefaultMetadataPolicyEnforcer applier
    • Constructor Detail

      • DefaultMetadataPolicyEnforcerTest

        public DefaultMetadataPolicyEnforcerTest()
    • Method Detail

      • apply_whenValueSetToNull_resultIsValueWithTrue

        public void apply_whenValueSetToNull_resultIsValueWithTrue()
      • apply_whenValueSetToSomething_resultIsValueWithTrue

        public void apply_whenValueSetToSomething_resultIsValueWithTrue()
      • apply_whenAddToNullCandidate_resultIsSameAsWithValue

        public void apply_whenAddToNullCandidate_resultIsSameAsWithValue()
      • apply_whenAddToSameExistingCandidate_resultIsSameWithTrue

        public void apply_whenAddToSameExistingCandidate_resultIsSameWithTrue()
      • apply_whenAddToDifferentSingleExistingCandidate_resultIsFalse

        public void apply_whenAddToDifferentSingleExistingCandidate_resultIsFalse()
      • apply_whenAddToListCandidate_resultIsMergedWithTrue

        public void apply_whenAddToListCandidate_resultIsMergedWithTrue()
      • apply_whenNoCandidateAndDefaultSet_resultIsDefaultWithTrue

        public void apply_whenNoCandidateAndDefaultSet_resultIsDefaultWithTrue()
      • apply_whenCandidateAndDefaultSet_resultIsCandidateWithTrue

        public void apply_whenCandidateAndDefaultSet_resultIsCandidateWithTrue()
      • apply_whenEssentialAndNoValue_resultIsFalse

        public void apply_whenEssentialAndNoValue_resultIsFalse()
      • apply_whenNonEssentialAndNoValue_resultIsNullWithTrue

        public void apply_whenNonEssentialAndNoValue_resultIsNullWithTrue()
      • apply_whenOneOfMeetsValue_resultIsCandidateWithTrue

        public void apply_whenOneOfMeetsValue_resultIsCandidateWithTrue()
      • apply_whenOneOfNotMeetingValue_resultIsFalse

        public void apply_whenOneOfNotMeetingValue_resultIsFalse()
      • apply_whenSubsetOfMeetsValue_resultIsCandidateWithTrue

        public void apply_whenSubsetOfMeetsValue_resultIsCandidateWithTrue()
      • apply_whenSubsetOfNotMeetingValue_resultIsFalse

        public void apply_whenSubsetOfNotMeetingValue_resultIsFalse()
      • apply_whenSupersetOfMeetsValue_resultIsCandidateWithTrue

        public void apply_whenSupersetOfMeetsValue_resultIsCandidateWithTrue()
      • apply_whenSupersetOfNotMeetingValue_resultIsFalse

        public void apply_whenSupersetOfNotMeetingValue_resultIsFalse()
      • apply_whenRegexMeetsValue_resultIsCandidateWithTrue

        public void apply_whenRegexMeetsValue_resultIsCandidateWithTrue()
      • apply_whenRegexNotMeetingValue_resultIsFalse

        public void apply_whenRegexNotMeetingValue_resultIsFalse()
      • assertResultFalse

        public static void assertResultFalse​(Pair<Object,​Boolean> pair)