package foobar;

import static java.lang.reflect.Modifier.*;
import static org.junit.Assert.*;

import org.junit.Test;

public class SuperTest {
  @Test
  public void isNotPublic() { 
    int modifiers = Super.class.getModifiers();
    boolean isPublic = isPublic(modifiers);
    assertFalse("Super is public (modifiers: " + modifiers + ").", isPublic);     }
}

@@ -51,17 +51,24 @@
 odifier.
-*
+isPublic
 ;%0Aimport
@@ -96,71 +96,363 @@
 ert.
-*;%0A%0Aimport org.junit.Test;%0A%0Apublic class SuperTest %7B%0A  
+assertEquals;%0Aimport static org.junit.Assert.assertFalse;%0A%0Aimport java.lang.reflect.Method;%0A%0Aimport org.junit.Test;%0A%0Apublic class SuperTest %7B%0A%09@Test%0A%09public void is_declared_class_of_its_method() throws Exception %7B%0A%09%09Method method = Super.class.getMethod(%22methodOfSuper%22);%0A%09%09assertEquals(%22foobar.Super%22, method.getDeclaringClass().getName());%0A%09%7D%0A%0A%09
 @Test%0A
-  
+%09
 publ
@@ -478,14 +478,11 @@
 () %7B
- %0A    
+%0A%09%09
 int 
@@ -521,20 +521,18 @@
 iers();%0A
-    
+%09%09
 boolean 
@@ -563,20 +563,18 @@
 fiers);%0A
-    
+%09%09
 assertFa
@@ -642,13 +642,10 @@
 ic);
-     
+%0A%09
 %7D%0A%7D%0A

Add is_declared_class_of_its_method.