assertTrue(wrappingInfos[i].isFieldReadWrapped());
assertTrue(wrappingInfos[i].isFieldWriteWrapped());
assertTrue(wrappingInfos[i].isMethodWrapped());
}
// check interception counts
InterceptionsCount instance = InstanceInterceptor.getInterceptionsCount();
assertEquals(0, instance.total);
InterceptionsCount binding = BindingInterceptor.getInterceptionsCount();
assertEquals(4, binding.total);
assertEquals(2, binding.constructor);
assertEquals(0, binding.fieldRead);
assertEquals(0, binding.fieldWrite);
assertEquals(2, binding.method);
return;
}
// check wrapping status
assertOnlyConstructorWrapped(wrappingInfos);
// check interception counts
InterceptionsCount instance = InstanceInterceptor.getInterceptionsCount();
assertEquals(0, instance.total);
InterceptionsCount binding = BindingInterceptor.getInterceptionsCount();
assertEquals(2, binding.total);
assertEquals(2, binding.constructor);
assertEquals(0, binding.fieldRead);
assertEquals(0, binding.fieldWrite);
assertEquals(0, binding.method);