import com.agiletec.plugins.jpwebmail.aps.system.services.webmail.parse.WebMailConfigDOM;
public class TestWebMailConfigDOM extends ApsPluginBaseTestCase {
public void testGetItems() throws ApsSystemException {
WebMailConfigDOM configDOM = new WebMailConfigDOM();
WebMailConfig bean = configDOM.extractConfig(XML);
assertEquals("smtpUsername", bean.getSmtpUserName());
assertEquals("SMTP.EMAIL.COM", bean.getSmtpHost());
assertEquals("smtpPassword", bean.getSmtpPassword());
assertEquals("/cert/path/", bean.getCertificatePath());
assertTrue(bean.isCertificateLazyCheck());