@Test
void traverseFields() throws NoSuchFieldException {

    final List<Field> fields = ReflectionUtil.traverseFields(Bar.class)
            .filter(f -> !f.getName().contains("jacocoData")) // Jaccoco intrumentation fields
            .collect(toList());
    assertEquals(2, fields.size(), fields.toString());
}