@Test(timeout=5000)
    public void sendAfterTermination() throws Exception {
        logTestStart();

        // Establish a session
        session.send(ComposableBody.builder().build());
        StubConnection conn = cm.awaitConnection();
        AbstractBody scr = getSessionCreationResponse(conn.getRequest().getBody()).build();
        conn.sendResponse(scr);
        session.drain();

        // Send an explicit termination
        session.disconnect();
        conn = cm.awaitConnection();
        AbstractBody req = conn.getRequest().getBody();
        assertEquals("terminate", req.getAttribute(Attributes.TYPE));
        conn.sendResponse(ComposableBody.builder()
                .setAttribute(Attributes.TYPE, "terminate")
                .build());
        session.drain();

        // Sending anything else should result in an exception
        try {
            session.send(ComposableBody.builder().build());
            fail("Attempt to send a message after termination succeeded");
        } catch (BOSHException boshx) {
            LOG.info("Received exception: "  +boshx.getMessage());
            // Good!
        }

        assertValidators(scr);
    }