@Test
public void testEntityAnnotationsPrimaryView() throws Exception {
final String fields = target()
.request()
.post(Entity.entity(
new OneFilteringOnClassEntity(),
ENTITY_FILTERING,
new Annotation[]{PrimaryDetailedView.Factory.get()}),
String.class);
assertThat(fields, equalTo("field,accessor,property,subEntities.field2,subEntities.property2,subEntities.property1," +