MetadataServiceImpl extends ServiceImp { protected void logMetadata(String logMsg, MetadataElement... elements) { logMetadata(TRACE, logMsg, elements); }  @Override void prepare(); MetadataLogger getMetadataLogger(); void setMetadataLogger(MetadataLogger metadataLogger); T withMetadataLogger(MetadataLogger logger);  }
@Test public void testLogMetadata_TRACE() { logMetadata(TRACE, "{}", array()); logMetadata(TRACE, "{}", list()); }
@Test public void testLogMetadata_DEBUG() { logMetadata(DEBUG, "{}", array()); logMetadata(DEBUG, "{}", list()); }
@Test public void testLogMetadata_INFO() { logMetadata(INFO, "{}", array()); logMetadata(INFO, "{}", list()); }
@Test public void testLogMetadata_WARN() { logMetadata(WARN, "{}", array()); logMetadata(WARN, "{}", list()); }
@Test public void testLogMetadata_ERROR() { logMetadata(ERROR, "{}", array()); logMetadata(ERROR, "{}", list()); }