@Test(timeout=5000)
    public void noPartialElements() throws Exception {
        logTestStart();
        testedBy(RequestValidator.class, "assertValidXML");
        String body1 = "<body xmlns='" + NS_URI
                + "'><foo xmlns='http://foo.com/'>"
                + "<partiallElement></foo></body>";

        // Attempt to send a body containing comments
        StaticBody sb = StaticBody.fromString(body1);
        session.send(ComposableBody.fromStaticBody(sb));
        StubConnection conn = cm.awaitConnection();
        AbstractBody req = conn.getRequest().getBody();
        AbstractBody scr = getSessionCreationResponse(req).build();
        conn.sendResponse(scr);
        boolean failed = false;
        try {
            assertValidators(scr);
            failed = true;
        } catch (AssertionError err) {
            failed = false;
        }
        if (failed) {
            fail("Did not catch partial element");
        }
    }