@Test(timeout=5000)
    public void illegalPause() throws Exception {
        logTestStart();
        testedBy(RequestValidator.class, "validateSubsequentPause");
        // Initiate a session with no maxpause
        session.send(ComposableBody.builder().build());
        StubConnection conn = cm.awaitConnection();
        AbstractBody scr = ComposableBody.builder()
                .setAttribute(Attributes.SID, "123XYZ")
                .setAttribute(Attributes.WAIT, "1")
                .build();
        conn.sendResponse(scr);

        // Send another request attempting to pause
        session.send(ComposableBody.builder()
                .setAttribute(Attributes.PAUSE, "5")
                .build());
        conn = cm.awaitConnection();
        conn.sendResponse(ComposableBody.builder().build());
        AbstractBody body = conn.getRequest().getBody();
        String val = body.getAttribute(Attributes.PAUSE);
        assertNotNull("pause attribute didn't get to CM", val);

        boolean failed = false;
        try {
            assertValidators(scr);
            failed = true;
        } catch (AssertionError err) {
            LOG.info("Received expected error: " + err.getMessage());
            failed = false;
        }
        if (failed) {
            fail("Did not catch pause attribute");
        }
    }