use of com.axway.ats.harness.config.MailServer in project ats-framework by Axway.
the class Test_CommonConfigurator method mailServerProperties.
@Test
public void mailServerProperties() throws ConfigurationException {
CommonConfigurator testDataConfigurator = CommonConfigurator.getInstance();
testDataConfigurator.registerConfigFile(configFile1.getAbsolutePath());
MailServer mailServer = testDataConfigurator.getMailServer("exchange");
assertEquals(MAILSERVER_HOST, mailServer.getHost());
assertEquals(MAILSERVER_DEFAULTPASS, mailServer.getDefaultPass());
}
Aggregations