use of com.mercedesbenz.sechub.domain.scan.admin.FullScanData in project sechub by mercedes-benz.
the class DownloadsFullScanDataForJobRestDocTest method before.
@Before
public void before() {
jobUUID = UUID.randomUUID();
FullScanData data = new FullScanData();
ScanData d = new ScanData();
d.productId = "productX";
d.result = "{ 'result':'OK'}";
d.metaData = "{}";
data.allScanData.add(d);
String config = "{}";
ProjectScanLog log = new ProjectScanLog("theProject", jobUUID, "spartakus", config);
data.allScanLogs.add(log);
when(fullScanDataService.getFullScanData(jobUUID)).thenReturn(data);
}
Aggregations