protected Statement withRepeat(Statement statement) {
		Annotation[] annotations = getTestClass().getAnnotations();
		int repetition = 1;
		for (Annotation each : annotations) {
			if (each.annotationType().equals(Repeat.class)) {
				repetition = ((Repeat) each).value();
			}
		}
		return new RepetitionStatement(statement, repetition, threadContextUpdater);
	}
Check if the rate runner should be enabled.

@return true if enabled;
ngrinder-groovy/src/main/java/net/grinder/scriptengine/groovy/junit/GrinderRunner.java