@Test
public void getsListOfTransientFieldsFromClass() {

    Set<String> transientFields = JsonUtils.getTransientFields(BeanWithTransientField.class);
    transientFields = filterFieldsInsertedByJacocoFrameworkDuringInstrumentation(transientFields);
    assertEquals(newHashSet("transientField", "jsonTransientField"), transientFields);
}