@Test
public void exceptionIsThrownOnUnknownOptions() {

  descriptor.setConfiguration("UnknownConfigurationKey", "UnknownConfigurationValue");
  expectedException.expectMessage("Unknown configuration options");
  expectedException.expectMessage("UnknownConfigurationKey");
  expectedException.expect(UnsupportedOperationException.class);
  adapter.adapt(descriptor);
}