test_class.declarator: dataSource0
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private CloseableDataSource dataSource0;
test_class.type: CloseableDataSource
test_class.var_name: dataSource0
test_class.declarator: dataSource1
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private CloseableDataSource dataSource1;
test_class.type: CloseableDataSource
test_class.var_name: dataSource1
test_class.declarator: dataSource2
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private DataSource dataSource2;
test_class.type: DataSource
test_class.var_name: dataSource2
test_class.file: shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/schema/ShardingSphereSchemaTest.java
test_class.identifier: ShardingSphereSchemaTest
test_case.body: @Test
      public void assertIsNotCompleteWithoutDataSource() {
          ShardingSphereSchema schema = new ShardingSphereSchema("name", Collections.singleton(mock(RuleConfiguration.class)),
                  Collections.singleton(mock(ShardingSphereRule.class)), Collections.emptyMap(), mock(ShardingSphereMetaData.class));
          assertFalse(schema.isComplete());
      }
test_case.class_method_signature: ShardingSphereSchemaTest.assertIsNotCompleteWithoutDataSource()
test_case.full_signature: @Test public void assertIsNotCompleteWithoutDataSource()
test_case.identifier: assertIsNotCompleteWithoutDataSource
test_case.invocations: singleton mock singleton mock emptyMap mock assertFalse isComplete
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertIsNotCompleteWithoutDataSource()
focal_class.declarator: name
focal_class.modifier: private final
focal_class.original_string: private final String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: configurations
focal_class.modifier: private final
focal_class.original_string: private final Collection<RuleConfiguration> configurations;
focal_class.type: Collection<RuleConfiguration>
focal_class.var_name: configurations
focal_class.declarator: rules
focal_class.modifier: private final
focal_class.original_string: private final Collection<ShardingSphereRule> rules;
focal_class.type: Collection<ShardingSphereRule>
focal_class.var_name: rules
focal_class.declarator: dataSources
focal_class.modifier: private final
focal_class.original_string: private final Map<String, DataSource> dataSources;
focal_class.type: Map<String, DataSource>
focal_class.var_name: dataSources
focal_class.declarator: metaData
focal_class.modifier: private final
focal_class.original_string: private final ShardingSphereMetaData metaData;
focal_class.type: ShardingSphereMetaData
focal_class.var_name: metaData
focal_class.file: shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/schema/ShardingSphereSchema.java
focal_class.identifier: ShardingSphereSchema
focal_class.class_method_signature: ShardingSphereSchema.isComplete()
focal_class.full_signature: public boolean isComplete()
focal_class.identifier: isComplete
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isComplete()
focal_class.class_method_signature: ShardingSphereSchema.closeDataSources(final Collection<String> dataSources)
focal_class.full_signature: public void closeDataSources(final Collection<String> dataSources)
focal_class.identifier: closeDataSources
focal_class.modifiers: public
focal_class.parameters: (final Collection<String> dataSources)
focal_class.return: void
focal_class.signature: void closeDataSources(final Collection<String> dataSources)
focal_class.class_method_signature: ShardingSphereSchema.close(final DataSource dataSource)
focal_class.full_signature: private void close(final DataSource dataSource)
focal_class.identifier: close
focal_class.modifiers: private
focal_class.parameters: (final DataSource dataSource)
focal_class.return: void
focal_class.signature: void close(final DataSource dataSource)
focal_method.body: public boolean isComplete() {
          return !rules.isEmpty() && !dataSources.isEmpty();
      }
focal_method.class_method_signature: ShardingSphereSchema.isComplete()
focal_method.full_signature: public boolean isComplete()
focal_method.identifier: isComplete
focal_method.invocations: isEmpty isEmpty
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isComplete()