printNode(response);
    public void testGetUser() throws Exception {        // Setup testharness         User testData = new User("tomcat");        testData.setEnabled(true);        Mock userDAO = new Mock(UserDAO.class);                // because we can't extend MockObjectTestCase we create new instances for once(), eq() and returnValue()        InvokeOnceMatcher once = new InvokeOnceMatcher();        IsEqual eq = new IsEqual("tomcat");        ReturnStub returnValue = new ReturnStub(testData);        userDAO.expects(once).method("getUser").with(eq).will(returnValue);                UserManager service = (UserManager) getContext().getBean("userManager");        service.setUserDAO((UserDAO)userDAO.proxy());                // invoke webservice        Document response =            invokeService("UserWebService", "/org/appfuse/service/getUser.xml");        printNode(response);        // verify result        userDAO.verify();        addNamespace("service","http://service.appfuse.org");        addNamespace("model","http://model.appfuse.org");        assertValid("//service:getUserResponse/service:out[model:username=\"tomcat\"]",response);        assertValid("//service:getUserResponse/service:out[model:enabled=\"true\"]",response);    }