### Question:
QueryRelProvider implements RelProvider { @Override public boolean supports(Class<?> aClass) { return resourceRelationDescriptors.keySet().contains(aClass); } QueryRelProvider(); @Override String getItemResourceRelFor(Class<?> aClass); @Override String getCollectionResourceRelFor(Class<?> aClass); @Override boolean supports(Class<?> aClass);  }### Answer:
@Test public void shouldSupportProcessDefinitionEntity() { boolean supports = relProvider.supports(ProcessDefinitionEntity.class); assertThat(supports).isTrue(); }
@Test public void shouldSupportProcessInstanceEntity() { boolean supports = relProvider.supports(ProcessInstanceEntity.class); assertThat(supports).isTrue(); }
@Test public void shouldSupportTaskEntity() { boolean supports = relProvider.supports(TaskEntity.class); assertThat(supports).isTrue(); }
@Test public void shouldSupportProcessVariableEntity() { boolean supports = relProvider.supports(ProcessVariableEntity.class); assertThat(supports).isTrue(); }
@Test public void shouldSupportTaskVariableEntity() { boolean supports = relProvider.supports(TaskVariableEntity.class); assertThat(supports).isTrue(); }
@Test public void shouldNotSupportUncoveredClasses() { boolean supports = relProvider.supports(ActivitiEntityMetadata.class); assertThat(supports).isFalse(); }