Package org.opensaml.profile.testing
Class ActionTestingSupport
java.lang.Object
org.opensaml.profile.testing.ActionTestingSupport
Helper methods for creating/testing objects within profile action tests.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertEvent(ProfileRequestContext profileRequestContext, Object event) Checks that the request context contains an EventContext, and that the event content is as given.static voidassertProceedEvent(ProfileRequestContext profileRequestContext) Checks that the given request context does not contain an EventContext (thus signaling a "proceed" event).
-
Field Details
-
INBOUND_MSG_ID
ID of the inbound message.- See Also:
-
INBOUND_MSG_ISSUER
Issuer of the inbound message.- See Also:
-
OUTBOUND_MSG_ID
ID of the outbound message.- See Also:
-
OUTBOUND_MSG_ISSUER
Issuer of the outbound message.- See Also:
-
-
Constructor Details
-
ActionTestingSupport
public ActionTestingSupport()
-
-
Method Details
-
assertEvent
public static void assertEvent(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull Object event) Checks that the request context contains an EventContext, and that the event content is as given.- Parameters:
profileRequestContext- the context to checkevent- event to check
-
assertProceedEvent
Checks that the given request context does not contain an EventContext (thus signaling a "proceed" event).- Parameters:
profileRequestContext- the context to check
-