Class ActionTestingSupport

java.lang.Object
org.opensaml.profile.testing.ActionTestingSupport

public class ActionTestingSupport extends Object
Helper methods for creating/testing objects within profile action tests.
  • Field Details

  • 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 check
      event - event to check
    • assertProceedEvent

      public static void assertProceedEvent(@Nonnull ProfileRequestContext profileRequestContext)
      Checks that the given request context does not contain an EventContext (thus signaling a "proceed" event).
      Parameters:
      profileRequestContext - the context to check