@Test
public void testIgnoreReflectMethodSunError() {

    CompactFormatter cf = new CompactFormatter();
    String n = "sun.reflect.".concat(getClass().getName());
    String f = n.concat(".java");
    StackTraceElement s = new StackTraceElement(n, "invoke", f, 10);
    assertTrue(s.toString(), cf.ignore(s));
}