@Test
public void testDoesNotSupportUnsupportedType() {

    // disavow any persistenceprovider mapping for this type
    when(providerRegistry.getPersistenceProvider(String.class)).thenReturn(null);
    assertFalse(service.supports(String.class));
}