@Override
    public String as( As annotation, Class<?> scenarioClass ) {
        if( annotation != null && annotationHasExplicitValue( annotation ) ) {
            return annotation.value();
        }

        AbstractJGivenConfiguration configuration = ConfigurationUtil.getConfiguration( scenarioClass );
        String regEx = configuration.getTestClassSuffixRegEx();
        String classNameWithoutSuffix = scenarioClass.getSimpleName().replaceAll( regEx + "$", "" );

        return WordUtil.splitCamelCaseToReadableText( classNameWithoutSuffix );
    }
Returns the value of the {@link As} annotation.
Otherwise, this transforms the class name into a readable sentence and returns it.
jgiven-core/src/main/java/com/tngtech/jgiven/impl/params/DefaultAsProvider.java