Example #1
0
  public void testStaticInnerClassFromOuterClass() {
    TestAspect.clear();
    POJO pojo = new POJO();
    assertFalse(TestAspect.constructor);
    TestAspect.clear();
    pojo.executeStatic();

    assertTrue(TestAspect.constructor);
    assertTrue(TestAspect.staticRead);
    assertTrue(TestAspect.staticWrite);
    assertTrue(TestAspect.normalRead);
    assertTrue(TestAspect.normalWrite);
    assertTrue(TestAspect.method);
  }