### Question:
JndiJdbcDataSourceResourceConverter extends ResourceConverterImpl<JndiJdbcReportDataSource, ClientJndiJdbcDataSource> { @Override protected ClientJndiJdbcDataSource resourceSpecificFieldsToClient(ClientJndiJdbcDataSource client, JndiJdbcReportDataSource serverObject, ToClientConversionOptions options) { client.setJndiName(serverObject.getJndiName()); client.setTimezone(serverObject.getTimezone()); return client; }    }### Answer:
@Test public void resourceSpecificFieldsToClient(){ final String expectedJndiName = "testJndiName"; final String expectedTimezone = "testTime"; ClientJndiJdbcDataSource clientObject = new ClientJndiJdbcDataSource(); JndiJdbcReportDataSource serverObject = new JndiJdbcReportDataSourceImpl(); serverObject.setJndiName(expectedJndiName); serverObject.setTimezone(expectedTimezone); final ClientJndiJdbcDataSource result = converter.resourceSpecificFieldsToClient(clientObject, serverObject, null); assertSame(result, clientObject); assertEquals(result.getJndiName(), expectedJndiName); assertEquals(result.getTimezone(), expectedTimezone); }