@Test
public void NoMiddleware() {

    try {
        MiddlewareSet m = new MiddlewareSet();
        // No middleware. Should not explode.
        m.receiveActivityWithStatus(null, null).join();
        Assert.assertTrue(true);
    } catch (Throwable t) {
        Assert.fail("No exception expected" + t.getMessage());
    }
}