test_class.declarator: logicTableName = "t_order"
test_class.modifier: private final
test_class.original_string: private final String logicTableName = "t_order";
test_class.type: String
test_class.var_name: logicTableName
test_class.declarator: dataSourceName = "demo_ds_0"
test_class.modifier: private final
test_class.original_string: private final String dataSourceName = "demo_ds_0";
test_class.type: String
test_class.var_name: dataSourceName
test_class.declarator: physicsTable = "t_order_1"
test_class.modifier: private final
test_class.original_string: private final String physicsTable = "t_order_1";
test_class.type: String
test_class.var_name: physicsTable
test_class.declarator: replicaGroupId = "raftGroupTest1"
test_class.modifier: private final
test_class.original_string: private final String replicaGroupId = "raftGroupTest1";
test_class.type: String
test_class.var_name: replicaGroupId
test_class.declarator: replicaPeers = "127.0.0.1:9090"
test_class.modifier: private final
test_class.original_string: private final String replicaPeers = "127.0.0.1:9090";
test_class.type: String
test_class.var_name: replicaPeers
test_class.file: shardingsphere-features/shardingsphere-consensus-replication/shardingsphere-consensus-replication-common/src/test/java/org/apache/shardingsphere/replication/consensus/rule/ConsensusReplicationRuleTest.java
test_class.identifier: ConsensusReplicationRuleTest
test_case.body: @Test
      public void assertCannotFindRouting() {
          ConsensusReplicationRule consensusReplicationRule = createConsensusReplicationRule();
          Optional<ConsensusReplicationTableRule> routingRuleOptional = consensusReplicationRule.findRoutingByTable("not_exists_table");
          assertFalse(routingRuleOptional.isPresent());
      }
test_case.class_method_signature: ConsensusReplicationRuleTest.assertCannotFindRouting()
test_case.full_signature: @Test public void assertCannotFindRouting()
test_case.identifier: assertCannotFindRouting
test_case.invocations: createConsensusReplicationRule findRoutingByTable assertFalse isPresent
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertCannotFindRouting()
focal_class.declarator: replicaTableRules
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final Collection<ConsensusReplicationTableRule> replicaTableRules;
focal_class.type: Collection<ConsensusReplicationTableRule>
focal_class.var_name: replicaTableRules
focal_class.declarator: physicsTableRules
focal_class.modifier: private final
focal_class.original_string: private final Map<String, ConsensusReplicationTableRule> physicsTableRules;
focal_class.type: Map<String, ConsensusReplicationTableRule>
focal_class.var_name: physicsTableRules
focal_class.file: shardingsphere-features/shardingsphere-consensus-replication/shardingsphere-consensus-replication-common/src/main/java/org/apache/shardingsphere/replication/consensus/rule/ConsensusReplicationRule.java
focal_class.identifier: ConsensusReplicationRule
focal_class.interfaces: implements ShardingSphereRule
focal_class.class_method_signature: ConsensusReplicationRule.ConsensusReplicationRule(final ConsensusReplicationRuleConfiguration config)
focal_class.full_signature: public  ConsensusReplicationRule(final ConsensusReplicationRuleConfiguration config)
focal_class.identifier: ConsensusReplicationRule
focal_class.modifiers: public
focal_class.parameters: (final ConsensusReplicationRuleConfiguration config)
focal_class.signature:  ConsensusReplicationRule(final ConsensusReplicationRuleConfiguration config)
focal_class.class_method_signature: ConsensusReplicationRule.findRoutingByTable(final String physicsTable)
focal_class.full_signature: public Optional<ConsensusReplicationTableRule> findRoutingByTable(final String physicsTable)
focal_class.identifier: findRoutingByTable
focal_class.modifiers: public
focal_class.parameters: (final String physicsTable)
focal_class.return: Optional<ConsensusReplicationTableRule>
focal_class.signature: Optional<ConsensusReplicationTableRule> findRoutingByTable(final String physicsTable)
focal_method.body: public Optional<ConsensusReplicationTableRule> findRoutingByTable(final String physicsTable) {
          return Optional.ofNullable(physicsTableRules.get(physicsTable));
      }
focal_method.class_method_signature: ConsensusReplicationRule.findRoutingByTable(final String physicsTable)
focal_method.full_signature: public Optional<ConsensusReplicationTableRule> findRoutingByTable(final String physicsTable)
focal_method.identifier: findRoutingByTable
focal_method.invocations: ofNullable get
focal_method.modifiers: public
focal_method.parameters: (final String physicsTable)
focal_method.return: Optional<ConsensusReplicationTableRule>
focal_method.signature: Optional<ConsensusReplicationTableRule> findRoutingByTable(final String physicsTable)