Class ActionTestingSupport


  • public class ActionTestingSupport
    extends Object
    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.
    • Constructor Detail

      • ActionTestingSupport

        public ActionTestingSupport()
    • Method Detail

      • assertEvent

        public static void assertEvent​(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.
        Parameters:
        event - the event to check
        id - ...
      • assertProceedEvent

        public static void assertProceedEvent​(Event event)
        Checks that the given event is a proceed event.
        Parameters:
        event - the event to check