void () { addEnvironmentClass("package org.junit;" + "@Retention(RetentionPolicy.RUNTIME) " + "@Target({ElementType.METHOD}) " + "public @interface Test {}"); doMemberTest("@org.junit.Test public void testSomething() {" + " new RuntimeException()./*Call to 'printStackTrace()' should probably be replaced with more robust logging*/printStackTrace/**/();" + "}"); }