Class ActionTestingSupport
java.lang.Object
net.shibboleth.idp.profile.testing.ActionTestingSupport
Helper methods for creating/testing objects within profile action tests. When methods herein refer to mock objects
they are always objects that have been created via Mockito unless otherwise noted.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertEvent(Event event, String id) Checks that the event is not null, that the event source is not null, and that the event ID is the given id.static voidassertProceedEvent(Event event) Checks that the given event is 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
private ActionTestingSupport()Private constructor.
-
-
Method Details
-
assertEvent
Checks that the event is not null, that the event source is not null, and that the event ID is the given id.- Parameters:
event- the event to checkid- ...
-
assertProceedEvent
Checks that the given event is a proceed event.- Parameters:
event- the event to check
-