test_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-spring/shardingsphere-encrypt-spring-boot-starter/src/test/java/org/apache/shardingsphere/encrypt/spring/boot/condition/EncryptSpringBootConditionTest.java
test_class.identifier: EncryptSpringBootConditionTest
test_case.body: @Test
      public void assertNotMatch() {
          MockEnvironment mockEnvironment = new MockEnvironment();
          mockEnvironment.setProperty("spring.shardingsphere.rules.sharding.binding-tables", "t_order");
          ConditionContext context = mock(ConditionContext.class);
          AnnotatedTypeMetadata metadata = mock(AnnotatedTypeMetadata.class);
          when(context.getEnvironment()).thenReturn(mockEnvironment);
          EncryptSpringBootCondition condition = new EncryptSpringBootCondition();
          ConditionOutcome matchOutcome = condition.getMatchOutcome(context, metadata);
          assertFalse(matchOutcome.isMatch());
      }
test_case.class_method_signature: EncryptSpringBootConditionTest.assertNotMatch()
test_case.full_signature: @Test public void assertNotMatch()
test_case.identifier: assertNotMatch
test_case.invocations: setProperty mock mock thenReturn when getEnvironment getMatchOutcome assertFalse isMatch
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertNotMatch()
focal_class.declarator: ENCRYPT_PREFIX = "spring.shardingsphere.rules.encrypt"
focal_class.modifier: private static final
focal_class.original_string: private static final String ENCRYPT_PREFIX = "spring.shardingsphere.rules.encrypt";
focal_class.type: String
focal_class.var_name: ENCRYPT_PREFIX
focal_class.file: shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-spring/shardingsphere-encrypt-spring-boot-starter/src/main/java/org/apache/shardingsphere/encrypt/spring/boot/condition/EncryptSpringBootCondition.java
focal_class.identifier: EncryptSpringBootCondition
focal_class.class_method_signature: EncryptSpringBootCondition.getMatchOutcome(final ConditionContext conditionContext, final AnnotatedTypeMetadata annotatedTypeMetadata)
focal_class.full_signature: @Override public ConditionOutcome getMatchOutcome(final ConditionContext conditionContext, final AnnotatedTypeMetadata annotatedTypeMetadata)
focal_class.identifier: getMatchOutcome
focal_class.modifiers: @Override public
focal_class.parameters: (final ConditionContext conditionContext, final AnnotatedTypeMetadata annotatedTypeMetadata)
focal_class.return: ConditionOutcome
focal_class.signature: ConditionOutcome getMatchOutcome(final ConditionContext conditionContext, final AnnotatedTypeMetadata annotatedTypeMetadata)
focal_class.superclass: extends SpringBootCondition
focal_method.body: @Override
      public ConditionOutcome getMatchOutcome(final ConditionContext conditionContext, final AnnotatedTypeMetadata annotatedTypeMetadata) {
          return PropertyUtil.containPropertyPrefix(conditionContext.getEnvironment(), ENCRYPT_PREFIX)
                  ? ConditionOutcome.match() : ConditionOutcome.noMatch("Can't find ShardingSphere encrypt rule configuration in local file.");
      }
focal_method.class_method_signature: EncryptSpringBootCondition.getMatchOutcome(final ConditionContext conditionContext, final AnnotatedTypeMetadata annotatedTypeMetadata)
focal_method.full_signature: @Override public ConditionOutcome getMatchOutcome(final ConditionContext conditionContext, final AnnotatedTypeMetadata annotatedTypeMetadata)
focal_method.identifier: getMatchOutcome
focal_method.invocations: containPropertyPrefix getEnvironment match noMatch
focal_method.modifiers: @Override public
focal_method.parameters: (final ConditionContext conditionContext, final AnnotatedTypeMetadata annotatedTypeMetadata)
focal_method.return: ConditionOutcome
focal_method.signature: ConditionOutcome getMatchOutcome(final ConditionContext conditionContext, final AnnotatedTypeMetadata annotatedTypeMetadata)