GovernanceSchemaContexts implements SchemaContexts { @Override public boolean isCircuitBreak() { return schemaContexts.isCircuitBreak(); } GovernanceSchemaContexts(final SchemaContexts schemaContexts, final GovernanceFacade governanceFacade); @Override DatabaseType getDatabaseType(); @Override Map<String, ShardingSphereSchema> getSchemas(); @Override ShardingSphereSchema getDefaultSchema(); @Override ShardingSphereSQLParserEngine getSqlParserEngine(); @Override ExecutorKernel getExecutorKernel(); @Override Authentication getAuthentication(); @Override ConfigurationProperties getProps(); @Override boolean isCircuitBreak(); @Override void close(); @Subscribe synchronized void renew(final SchemaAddedEvent event); @Subscribe synchronized void renew(final SchemaDeletedEvent event); @Subscribe synchronized void renew(final PropertiesChangedEvent event); @Subscribe synchronized void renew(final AuthenticationChangedEvent event); @Subscribe synchronized void renew(final MetaDataChangedEvent event); @Subscribe synchronized void renew(final RuleConfigurationsChangedEvent event); @Subscribe synchronized void renew(final DataSourceChangedEvent event); @Subscribe synchronized void renew(final DisabledStateChangedEvent event); @Subscribe synchronized void renew(final CircuitStateChangedEvent event);  }
@Test public void assertIsCircuitBreak() { assertFalse(governanceSchemaContexts.isCircuitBreak()); }