@Test
public void append() throws IOException {

    compositeTraceAppender.cleanup();
    compositeTraceAppender.append("test compositeTraceAppender");
    compositeTraceAppender.flush();
    Resource[] resources = resolver.getResources("file:" + TracerLogRootDaemon.LOG_FILE_DIR
                                                 + File.separator + COMPOSITE_TEST_FILE_NAME);
    Assert.assertTrue(resources.length == 1);
    String logText = FileUtils.readFileToString(resources[0].getFile());
    Assert.assertTrue(logText.equals("test compositeTraceAppender"));
}