### Question:
LightblueFactory implements Serializable { public Metadata getMetadata() throws IOException, ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException { if (metadata == null) { initializeMetadata(getFactory()); } return metadata; } LightblueFactory(DataSourcesConfiguration datasources);  LightblueFactory(DataSourcesConfiguration datasources, JsonNode crudNode, JsonNode metadataNode);  LightblueFactory(DataSourcesConfiguration datasources, MetadataConfiguration mdConfiguration, CrudConfiguration crudConfiguration); Metadata getMetadata(); JSONMetadataParser getJSONParser(); Factory getFactory(); Mediator getMediator(); CrudConfiguration getCrudConfiguration(); Locking getLocking(String domain); JsonTranslator getJsonTranslator();  }### Answer:
@Test public void getMetadata() throws Exception { LightblueFactory mgr = new LightblueFactory(new DataSourcesConfiguration()); Metadata m = mgr.getMetadata(); Assert.assertNotNull(m); Assert.assertTrue(m instanceof DatabaseMetadata); }