@Test
public void testUnsupportedConfiguration() {

    // GIVEN
    final Map<String, Object> props = new HashMap<>();
    props.put("javax.persistence.jdbc.driver", "driver");
    when(descriptor.getProperties()).thenReturn(props);
    final DataSourceDecorator decorator = new DataSourceDecorator();
    // WHEN
    final boolean isSupported = decorator.isConfigurationSupported(ctx);
    // THEN
    assertFalse(isSupported);
}