### Question:
GenericReportUnitResourceConverter extends DataSourceHolderResourceConverter<ServerReportUnitType, ClientReportUnitType> { @Override protected void setDataSourceToResource(ResourceReference dataSourceReference, ServerReportUnitType resource) { resource.setDataSource(dataSourceReference); }    }### Answer:
@Test public void setDataSourceToResource() { final ReportUnit reportUnit = new ReportUnitImpl(); final ResourceReference resourceReference = new ResourceReference("/test/resource/uri"); converter.setDataSourceToResource(resourceReference, reportUnit); assertSame(reportUnit.getDataSource(), resourceReference); }