StandardSchemaContexts implements SchemaContexts { @Override public ShardingSphereSchema getDefaultSchema() { return schemas.get(DefaultSchema.LOGIC_NAME); } StandardSchemaContexts();  StandardSchemaContexts(final Map<String, ShardingSphereSchema> schemas, final ShardingSphereSQLParserEngine sqlParserEngine, final ExecutorKernel executorKernel, 
                                  final Authentication authentication, final ConfigurationProperties props, final DatabaseType databaseType); @Override ShardingSphereSchema getDefaultSchema(); @Override void close();  }
@Test public void assertGetDefaultSchema() { StandardSchemaContexts standardSchemaContexts = new StandardSchemaContexts(); ShardingSphereSchema expected = mock(ShardingSphereSchema.class); standardSchemaContexts.getSchemas().put("logic_db", expected); assertThat(standardSchemaContexts.getDefaultSchema(), is(expected)); }