@Test
public void testShouldTransform_does_filter_correctly_a_non_static_inner_class() throws Exception {

    // GIVEN
    dst = new CtClass("Dst" + TestCounter.testCounter) {
        @Override
        public CtClass[] getDeclaredClasses() throws NotFoundException {
            CtClass inner = new CtClass("Inner" + TestCounter.testCounter) {
                @Override
                public CtClass getDeclaringClass() throws NotFoundException {
                    return dst;
                }
                @Override
                public int getModifiers() {
                    return Modifier.PUBLIC;
                }
            };
            return new CtClass[] {inner};
        }
    };
    // WHEN
    boolean filter = mimicProcessor.shouldTransform(dst.getDeclaredClasses()[0]);
    // THEN
    assertFalse(filter);
}