CollectionDecoratorUtil { public int objectLineSize(){ return clazzPositionSize; } CollectionDecoratorUtil(Class<?> clazzPositionalFieldAnnotaded); int objectLineSize();  }
@Test public void testObjectLineSizeFromProperty() { int lineSize = new CollectionDecoratorUtil(TestAnnotation.class).objectLineSize(); Truth.assert_().that(lineSize).isEqualTo(40); }
@Test public void testObjectLineSizeFromField() { int lineSize = new CollectionDecoratorUtil(TestAccessorType.class).objectLineSize(); Truth.assert_().that(lineSize).isEqualTo(40); }
@Test public void testObjectChildLineSizeFromField() { int lineSize = new CollectionDecoratorUtil(TestAccessorTypeChild.class).objectLineSize(); Truth.assert_().that(lineSize).isEqualTo(40); }
@Test public void testObjectChildMixLineSizeFromField() { int lineSize = new CollectionDecoratorUtil(TestAccessorTypeChildMixFieldAndProperty.class).objectLineSize(); Truth.assert_().that(lineSize).isEqualTo(40); }