### Question:
LoggingConfigurator { public String getFile(String appender) { return getFile(appender, true); } LoggingConfigurator(); Collection<String> getLoggingFiles(); Collection<String> getWebLoggingFiles(); String getFile(String appender); String getFile(String appender, boolean replaceVariables); void setFile(String appender, String file); void addTextAppender(String name); void addHtmlAppender(String name); void addCategory(Class clazz, String[] appenders); void addCategory(String name, String[] appenders); void setLogsRoot(String rootPath); boolean write();  }### Answer:
@Test public void testAddTrigger() { LoggingConfigurator config = new LoggingConfigurator(); String file = config.getFile("DMS"); Assert.assertEquals("D:/LogicalDOC-Devel/repository/logs/dms.log", file); }