use of com.tvd12.ezyfoxserver.config.EzyConfigBuilder in project ezyfox-server by youngmonkeys.
the class EzyConfigBuilderTest method test.
@Test
public void test() {
EzyConfig config = new EzyConfigBuilder().ezyfoxHome(".").printSettings(true).printBanner(true).bannerFile("banner.txt").loggerConfigFile("log.properties").enableAppClassLoader(true).build();
assertEquals(config.getEzyfoxHome(), ".");
assertTrue(config.isPrintSettings());
assertTrue(config.isPrintBanner());
assertEquals(config.getBannerFile(), "banner.txt");
assertEquals(config.getLoggerConfigFile(), "log.properties");
assertTrue(config.isEnableAppClassLoader());
}
Aggregations