class OnTestCondition extends SpringBootCondition {

    @Override
    public ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata) {<FILL_FUNCTION_BODY>}
}

        ConditionMessage matchMessage = ConditionMessage.empty();
        if (metadata.isAnnotated(ConditionalOnNotTest.class.getName())) {
            if (SofaBootEnvUtils.isSpringTestEnv()) {
                return ConditionOutcome.noMatch(ConditionMessage.forCondition(
                    ConditionalOnNotTest.class).notAvailable("spring test environment"));
            }
            matchMessage = matchMessage.andCondition(ConditionalOnNotTest.class).available(
                "none spring test environment");
        }
        return ConditionOutcome.match(matchMessage);
    
<methods>public void <init>() ,public abstract org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext, org.springframework.core.type.AnnotatedTypeMetadata) ,public final boolean matches(org.springframework.context.annotation.ConditionContext, org.springframework.core.type.AnnotatedTypeMetadata) <variables>private final org.apache.commons.logging.Log logger