### Question:
LightblueFactory implements Serializable { public Mediator getMediator() throws ClassNotFoundException, IllegalAccessException, InvocationTargetException, IOException, NoSuchMethodException, InstantiationException { if (mediator == null) { initializeMediator(); } return mediator; } 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 getMediator() throws Exception { DataSourcesConfiguration ds = new DataSourcesConfiguration(); LightblueFactory mgr = new LightblueFactory(new DataSourcesConfiguration()); Mediator m = mgr.getMediator(); Assert.assertNotNull(m); }