### Question:
LookupResourceConverter extends ResourceConverterImpl<ResourceLookup, ClientResourceLookup> { @Override public ResourceDetails toServer(ClientResourceLookup clientObject, ResourceLookup resultToUpdate, ToServerConversionOptions options) { throw new IllegalStateException("ResourceLookup is read only object. ToServer conversion isn't supported"); }  @Override ResourceDetails toServer(ClientResourceLookup clientObject, ResourceLookup resultToUpdate, ToServerConversionOptions options); @Override ResourceLookup toServer(ClientResourceLookup clientObject, ToServerConversionOptions options);  }### Answer:
@Test public void toServer_notSupported() { IllegalStateException exception = null; try { converter.toServer(new ClientResourceLookup(), null); } catch (IllegalStateException ex) { exception = ex; } assertNotNull(exception); exception = null; try { converter.toServer(new ClientResourceLookup(), new ResourceLookupImpl(), null); } catch (IllegalStateException ex) { exception = ex; } assertNotNull(exception); }