@Test public void Status_RunAtEndEmptyPipeline() { MiddlewareSet m = new MiddlewareSet(); final boolean[] didAllRun = { false }; BotCallbackHandler cb = (context) -> { didAllRun[0] = true; return CompletableFuture.completedFuture(null); }; m.receiveActivityWithStatus(null, cb); Assert.assertTrue(didAllRun[0]); }
public CompletableFuture<Void> receiveActivityWithStatus( TurnContext context, BotCallbackHandler callback ) { return receiveActivityInternal(context, callback); }
MiddlewareSet implements Middleware { public CompletableFuture<Void> receiveActivityWithStatus( TurnContext context, BotCallbackHandler callback ) { return receiveActivityInternal(context, callback); } }
MiddlewareSet implements Middleware { public CompletableFuture<Void> receiveActivityWithStatus( TurnContext context, BotCallbackHandler callback ) { return receiveActivityInternal(context, callback); }  }
MiddlewareSet implements Middleware { public CompletableFuture<Void> receiveActivityWithStatus( TurnContext context, BotCallbackHandler callback ) { return receiveActivityInternal(context, callback); }  MiddlewareSet use(Middleware middleware); @Override CompletableFuture<Void> onTurn(TurnContext turnContext, NextDelegate next); CompletableFuture<Void> receiveActivityWithStatus(
        TurnContext context,
        BotCallbackHandler callback
    ); }
MiddlewareSet implements Middleware { public CompletableFuture<Void> receiveActivityWithStatus( TurnContext context, BotCallbackHandler callback ) { return receiveActivityInternal(context, callback); }  MiddlewareSet use(Middleware middleware); @Override CompletableFuture<Void> onTurn(TurnContext turnContext, NextDelegate next); CompletableFuture<Void> receiveActivityWithStatus(
        TurnContext context,
        BotCallbackHandler callback
    );  }