### Question:
OlapUnitResourceConverter extends ResourceConverterImpl<OlapUnit, ClientOlapUnit> { @Override protected ClientOlapUnit resourceSpecificFieldsToClient(ClientOlapUnit client, OlapUnit serverObject, ToClientConversionOptions options) { client.setMdxQuery(serverObject.getMdxQuery()); final ClientReferenciableOlapConnection clientOlapConnection = resourceReferenceConverterProvider .getConverterForType(ClientReferenciableOlapConnection.class) .toClient(serverObject.getOlapClientConnection(), options); client.setOlapConnection(clientOlapConnection); return client; }    }### Answer:
@Test public void resourceSpecificFieldsToClient(){ ClientOlapUnit clientObject = new ClientOlapUnit(); OlapUnit serverObject = new OlapUnitImpl(); serverObject.setMdxQuery(EXPECTED_MDX_QUERY); serverObject.setOlapClientConnection(serverConnection); final ClientOlapUnit result = converter.resourceSpecificFieldsToClient(clientObject, serverObject, toClientConversionOptions); assertSame(result, clientObject); assertEquals(result.getMdxQuery(), EXPECTED_MDX_QUERY); assertSame(result.getOlapConnection(), clientConnection); }