List<FieldInjector> fields = resource.getFieldInjectors();
cleanupSonarRuntimeData(fields);
assertEquals(1, fields.size());
FieldInjector f = fields.get(0);
assertEquals(String.class, f.getParameterClass());
assertEquals(String.class, f.getGenericType());
assertEquals("default", f.getDefaultValue());
assertEquals(PathParam.class, f.getAnnotation().annotationType());
assertEquals("b", ((PathParam)f.getAnnotation()).value());
assertTrue(f.isEncoded());
}