Use groovy class reference style in Spock tests
MODIFY
dd-java-agent/testing/src/test/groovy/context/FieldBackedProviderTest.groovy
dd-java-agent/testing/src/test/groovy/context/FieldBackedProviderTest.groovy
@@ -131,7 +131,7 @@ class FieldBackedProviderTest extends AgentTestRunner {
def "works with cglib enhanced instances which duplicates context getter and setter methods"() {
setup:
Enhancer enhancer = new Enhancer()
- enhancer.setSuperclass(KeyClass.class)
+ enhancer.setSuperclass(KeyClass)
enhancer.setCallback(new MethodInterceptor() {
@Override
Object intercept(Object arg0, Method arg1, Object[] arg2,

Use groovy class reference style in Spock tests