### Question:
JndiJdbcDataSourceResourceConverter extends ResourceConverterImpl<JndiJdbcReportDataSource, ClientJndiJdbcDataSource> { @Override protected JndiJdbcReportDataSource resourceSpecificFieldsToServer(ClientJndiJdbcDataSource clientObject, JndiJdbcReportDataSource resultToUpdate, List<Exception> exceptions, ToServerConversionOptions options) throws IllegalParameterValueException { resultToUpdate.setJndiName(clientObject.getJndiName()); resultToUpdate.setTimezone(clientObject.getTimezone()); return resultToUpdate; }    }### Answer:
@Test public void resourceSpecificFieldsToServer() throws Exception { final String expectedJndiName = "testJndiName"; final String expectedTimezone = "testTime"; ClientJndiJdbcDataSource clientObject = new ClientJndiJdbcDataSource(); JndiJdbcReportDataSource serverObject = new JndiJdbcReportDataSourceImpl(); clientObject.setJndiName(expectedJndiName); clientObject.setTimezone(expectedTimezone); final JndiJdbcReportDataSource result = converter.resourceSpecificFieldsToServer(clientObject, serverObject, new ArrayList<Exception>(), null); assertSame(result, serverObject); assertEquals(result.getJndiName(), expectedJndiName); assertEquals(result.getTimezone(), expectedTimezone); }