use of org.kuali.kfs.datadictionary.legacy.DataDictionaryService in project cu-kfs by CU-CommunityApps.
the class RassValueConverterBaseTest method buildMockDataDictionaryService.
private DataDictionaryService buildMockDataDictionaryService(Integer maxSize) {
DataDictionaryService service = Mockito.mock(DataDictionaryService.class);
Mockito.when(service.getAttributeMaxLength(Mockito.eq(Agency.class), Mockito.anyString())).thenReturn(maxSize);
return service;
}
use of org.kuali.kfs.datadictionary.legacy.DataDictionaryService in project cu-kfs by CU-CommunityApps.
the class CuBatchExtractServiceImplTest method buildMockDataDictionaryService.
private DataDictionaryService buildMockDataDictionaryService() {
DataDictionaryService dataDictionaryService = Mockito.mock(DataDictionaryService.class);
Mockito.when(dataDictionaryService.getDocumentClassByTypeName(Mockito.anyString())).then(this::findClassByType);
return dataDictionaryService;
}
Aggregations