public synchronized void setTestClass(Class<?> testClass) {
        AssertionUtil.assertTrue(className == null || testClass.getName().equals(className),
            "Test class of the same report model was set to different values. 1st value: " + className
                + ", 2nd value: " + testClass.getName());
        setClassName(testClass.getName());
        if (testClass.isAnnotationPresent(Description.class)) {
            setDescription(testClass.getAnnotation(Description.class).value());
        }

        As as = testClass.getAnnotation(As.class);
        AsProvider provider = as != null
            ? ReflectionUtil.newInstance(as.provider())
            : ConfigurationUtil.getConfiguration(testClass).getAsProvider();
        name = provider.as(as, testClass);
    }
An optional description of the test class.
jgiven-core/src/main/java/com/tngtech/jgiven/report/model/ReportModel.java