Class AddOneTimeUseConditionToAssertionsTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.saml.saml2.profile.impl.AddOneTimeUseConditionToAssertionsTest
-
public class AddOneTimeUseConditionToAssertionsTest extends OpenSAMLInitBaseTestCase
AddOneTimeUseConditionToAssertionsunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private AddOneTimeUseConditionToAssertionsaction
-
Constructor Summary
Constructors Constructor Description AddOneTimeUseConditionToAssertionsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestMultipleAssertion()Test that the condition is properly added if there are multiple assertions in the response.voidtestNoAssertion()Test that action errors out properly if there is no assertion in the response.voidtestNoResponse()Test that action errors out properly if there is no response.voidtestSingleAssertion()Test that the condition is properly added if there is a single assertion, without a Conditions element, in the response.voidtestSingleAssertionWithExistingCondition()Test that the condition is properly added if there is a single assertion, with a Conditions element, in the response.-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
action
private AddOneTimeUseConditionToAssertions action
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testNoResponse
public void testNoResponse()
Test that action errors out properly if there is no response.
-
testNoAssertion
public void testNoAssertion()
Test that action errors out properly if there is no assertion in the response.
-
testSingleAssertion
public void testSingleAssertion()
Test that the condition is properly added if there is a single assertion, without a Conditions element, in the response.
-
testSingleAssertionWithExistingCondition
public void testSingleAssertionWithExistingCondition()
Test that the condition is properly added if there is a single assertion, with a Conditions element, in the response.
-
testMultipleAssertion
public void testMultipleAssertion()
Test that the condition is properly added if there are multiple assertions in the response.
-
-