m_user = new User(); Setting settings = SiteTestHelper.loadSettings("commserver/user-settings.xml"); m_user.setSettings(settings); m_user.initialize();
m_user = new User() { protected Setting loadSettings() { return SiteTestHelper.loadSettings("commserver/user-settings.xml"); } };
    protected void setUp() {        m_servlet = new PinTokenChangeServlet();        m_user = new User();        Setting settings = SiteTestHelper.loadSettings("commserver/user-settings.xml");        m_user.setSettings(settings);        m_user.initialize();        m_user.setUserName("joe");        m_user.setPintoken("oldpintoken");    }