@Test
public void testLoadDefaultPropFile_NotFound() {
String propFileName = String.valueOf(System.currentTimeMillis());
System.setProperty(DozerConstants.CONFIG_FILE_SYS_PROP, propFileName);
GlobalSettings globalSettings = GlobalSettings.createNew();
// assert all global settings equal the default values
assertNull("loaded by file name should be null", globalSettings.getLoadedByFileName());
assertEquals("invalid stats enabled value", DozerConstants.DEFAULT_STATISTICS_ENABLED, globalSettings.isStatisticsEnabled());
assertEquals("invalid converter cache max size value", DozerConstants.DEFAULT_CONVERTER_BY_DEST_TYPE_CACHE_MAX_SIZE,
globalSettings.getConverterByDestTypeCacheMaxSize());
assertEquals("invalid super type cache max size value", DozerConstants.DEFAULT_SUPER_TYPE_CHECK_CACHE_MAX_SIZE, globalSettings
.getSuperTypesCacheMaxSize());
assertEquals("invalid autoregister jmx beans", DozerConstants.DEFAULT_AUTOREGISTER_JMX_BEANS, globalSettings
.isAutoregisterJMXBeans());
assertEquals(DozerConstants.DEFAULT_PROXY_RESOLVER_BEAN, globalSettings.getProxyResolverName());
assertEquals(DozerConstants.DEFAULT_CLASS_LOADER_BEAN, globalSettings.getClassLoaderName());
assertEquals(DozerConstants.DEFAULT_EL_ENABLED, globalSettings.isElEnabled());
}