public void beforeTestClass() throws Exception {
    if (beforeTestClassMethod != null)
      ReflectionUtil.invokeMethod(delegate, beforeTestClassMethod);
  }
Wrapper around Spring's TestContextManager class that works with Spring 2.5 and Spring 3.
spock-spring/src/main/java/org/spockframework/spring/SpringTestContextManager.java