use of com.axway.ats.harness.config.MessagesBox in project ats-framework by Axway.
the class Test_CommonConfigurator method messageBoxProperties.
@Test
public void messageBoxProperties() throws ConfigurationException {
CommonConfigurator testDataConfigurator = CommonConfigurator.getInstance();
testDataConfigurator.registerConfigFile(configFile1.getAbsolutePath());
MessagesBox msgBox = testDataConfigurator.getMessagesBox("axway");
assertEquals(MESSAGEBOX_HOST, msgBox.getHost());
assertEquals(MESSAGEBOX_DBNAME, msgBox.getDbName());
assertEquals(MESSAGEBOX_DBUSER, msgBox.getDbUser());
assertEquals(MESSAGEBOX_DBPASS, msgBox.getDbPass());
assertEquals(MESSAGEBOX_DBTABLE, msgBox.getDbTable());
}
Aggregations