package hu.advancedweb.scott;

import static org.hamcrest.CoreMatchers.notNullValue;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;

import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

import org.junit.Test;

import hu.advancedweb.scott.instrumentation.transformation.ConstructorTransformerMethodVisitor;

/**
 *  For now rule injection works only in this test.
 *	@see ConstructorTransformerMethodVisitor
 */
public class RuleInjectionTest {
	
	@Test
	public void ruleInjected() throws Exception {
		Field field = this.getClass().getDeclaredField("scottReportingRule");
		
		Annotation[] annotations = field.getDeclaredAnnotations();
		Object value = field.get(this);
		
		assertThat(value, notNullValue());
		assertTrue(annotations.length != 0);
	}
	
}

@@ -363,112 +363,8 @@
 r;%0A%0A
-/**%0A *  For now rule injection works only in this test.%0A *%09@see ConstructorTransformerMethodVisitor%0A */%0A
 publ

Remove outdated comment