RuleSchemaMetaData { public SchemaMetaData getSchemaMetaData() { return allSchemaMetaData; } RuleSchemaMetaData(final SchemaMetaData configuredSchemaMetaData, final Map<String, Collection<String>> unconfiguredSchemaMetaDataMap); SchemaMetaData getSchemaMetaData(); Collection<String> getAllTableNames();  }
@Test public void assertGetSchemaMetaData() { Map<String, TableMetaData> tableMetaDataMap = new HashMap<>(1, 1); Map<String, Collection<String>> unconfiguredSchemaMetaDataMap = new HashMap<>(1, 1); RuleSchemaMetaData ruleSchemaMetaData = new RuleSchemaMetaData(new SchemaMetaData(tableMetaDataMap), unconfiguredSchemaMetaDataMap); SchemaMetaData schemaMetaData = ruleSchemaMetaData.getSchemaMetaData(); assertNotNull("SchemaMetaData is null", schemaMetaData); }