Class AsyncExecutorTest


  • class AsyncExecutorTest
    extends Object
    Test class for the AsyncExecutor class.
    • Constructor Detail

      • AsyncExecutorTest

        AsyncExecutorTest()
    • Method Detail

      • execute

        @Test
        void execute()
        Test the execute method.
      • getEither

        private Either<Failure,​Success> getEither​(boolean success)
        Utility method to get an Either instance and simulate a long operation.
        Parameters:
        success - Whether the operation should be successful or not
        Returns:
        Either instance