use of org.eclipse.scout.rt.shared.services.common.code.CodeService in project scout.rt by eclipse.
the class CodeServiceClientProxyTest method createServiceUnderTest.
private static CodeService createServiceUnderTest() {
CodeService serviceUnderTest = new CodeService() {
@Override
public Set<Class<? extends ICodeType<?, ?>>> getAllCodeTypeClasses() {
Set<Class<? extends ICodeType<?, ?>>> hashSet = new HashSet<>();
hashSet.add(CompanyRatingCodeType.class);
hashSet.add(CompanyTypeCodeType.class);
return hashSet;
}
};
BeanInstanceUtil.initializeBeanInstance(serviceUnderTest);
return serviceUnderTest;
}
Aggregations