### Question:
QueryResourceConverter extends DataSourceHolderResourceConverter<Query, ClientQuery> { @Override protected ClientQuery resourceSpecificFieldsToClient(ClientQuery client, Query serverObject, ToClientConversionOptions options) { client.setLanguage(serverObject.getLanguage()); client.setValue(serverObject.getSql()); return client; }    }### Answer:
@Test public void resourceSpecificFieldsToClient(){ final String expectedQueryValue = "testQueryValue"; final String expectedQueryLanguage = "testQueryLanguage"; final ClientQuery clientObject = new ClientQuery(); final Query serverObject = new QueryImpl(); serverObject.setLanguage(expectedQueryLanguage); serverObject.setSql(expectedQueryValue); final ClientQuery result = converter.resourceSpecificFieldsToClient(clientObject, serverObject, null); assertSame(result, clientObject); assertEquals(result.getLanguage(), expectedQueryLanguage); assertEquals(result.getValue(), expectedQueryValue); }