@Test
public void NoMiddlewareWithDelegate() {

    MiddlewareSet m = new MiddlewareSet();
    wasCalled = false;
    BotCallbackHandler cb = (ctx) -> {
        wasCalled = true;
        return CompletableFuture.completedFuture(null);
    };
    // No middleware. Should not explode.
    m.receiveActivityWithStatus(null, cb).join();
    Assert.assertTrue("Delegate was not called", wasCalled);
}