Class MockProcessAwareContext

    • Constructor Detail

      • MockProcessAwareContext

        public MockProcessAwareContext()
    • Method Detail

      • run

        public <R,​T extends java.lang.Throwable> R run​(ProcessSafeOperation<R,​T> operation)
                                                      throws T extends java.lang.Throwable
        Description copied from interface: ProcessAwareContext
        Undertakes a ProcessSafeOperation.
        Specified by:
        run in interface ProcessAwareContext
        Type Parameters:
        R - Return type from operation
        T - Possible Throwable type from operation.
        Parameters:
        operation - ProcessSafeOperation.
        Returns:
        Return value.
        Throws:
        T - Possible Throwable.
        T extends java.lang.Throwable