@Test
public void testIgnorePrivateInnerClass() {

    CompactFormatter cf = new CompactFormatter();
    String n = Arrays.asList("foo", "bar", "baz").getClass().getName();
    assertTrue(n, n.contains("$"));
    String f = n.concat(".java");
    StackTraceElement s = new StackTraceElement(n, "size", f, 20);
    assertFalse(s.toString(), cf.ignore(s));
}