### Question:
BeanDataSourceResourceConverter extends ResourceConverterImpl<BeanReportDataSource, ClientBeanDataSource> { @Override protected ClientBeanDataSource resourceSpecificFieldsToClient(ClientBeanDataSource client, BeanReportDataSource serverObject, ToClientConversionOptions options) { client.setBeanMethod(serverObject.getBeanMethod()); client.setBeanName(serverObject.getBeanName()); return client; }    }### Answer:
@Test public void resourceSpecificFieldsToClient(){ final String expectedBeanName = "testBeanName"; final String expectedBeanMethod = "testBeanMethod"; ClientBeanDataSource clientObject = new ClientBeanDataSource(); BeanReportDataSource serverObject = new BeanReportDataSourceImpl(); serverObject.setBeanMethod(expectedBeanMethod); serverObject.setBeanName(expectedBeanName); final ClientBeanDataSource result = converter.resourceSpecificFieldsToClient(clientObject, serverObject, null); assertSame(result, clientObject); assertEquals(result.getBeanMethod(), expectedBeanMethod); assertEquals(result.getBeanName(), expectedBeanName); }