@Test
public void providesListOfConsumedTypeForPerRequestProvider() {

    ProviderDescriptorImpl providerDescriptor = new ProviderDescriptorImpl(EntityProvider1.class);
    assertEquals(newArrayList(TEXT_PLAIN_TYPE, TEXT_XML_TYPE), providerDescriptor.consumes());
}