### Question:
BeanDataSourceResourceConverter extends ResourceConverterImpl<BeanReportDataSource, ClientBeanDataSource> { @Override protected BeanReportDataSource resourceSpecificFieldsToServer(ClientBeanDataSource clientObject, BeanReportDataSource resultToUpdate, List<Exception> exceptions, ToServerConversionOptions options) throws IllegalParameterValueException { resultToUpdate.setBeanMethod(clientObject.getBeanMethod()); resultToUpdate.setBeanName(clientObject.getBeanName()); return resultToUpdate; }    }### Answer:
@Test public void resourceSpecificFieldsToServer() throws Exception { final String expectedBeanName = "testBeanName"; final String expectedBeanMethod = "testBeanMethod"; ClientBeanDataSource clientObject = new ClientBeanDataSource(); BeanReportDataSource serverObject = new BeanReportDataSourceImpl(); clientObject.setBeanMethod(expectedBeanMethod); clientObject.setBeanName(expectedBeanName); final BeanReportDataSource result = converter.resourceSpecificFieldsToServer(clientObject, serverObject, new ArrayList<Exception>(), null); assertSame(result, serverObject); assertEquals(result.getBeanMethod(), expectedBeanMethod); assertEquals(result.getBeanName(), expectedBeanName); }