diff --git a/sechub-commons-model/src/test/java/com/mercedesbenz/sechub/commons/model/SecHubReportMetaDataSummaryDetailsTest.java b/sechub-commons-model/src/test/java/com/mercedesbenz/sechub/commons/model/SecHubReportMetaDataSummaryDetailsTest.java index 4892cac0a7..be3036e7e3 100644 --- a/sechub-commons-model/src/test/java/com/mercedesbenz/sechub/commons/model/SecHubReportMetaDataSummaryDetailsTest.java +++ b/sechub-commons-model/src/test/java/com/mercedesbenz/sechub/commons/model/SecHubReportMetaDataSummaryDetailsTest.java @@ -154,7 +154,7 @@ void correct_list_must_be_get_from_high_map() { /* test */ assertTrue(!list.isEmpty()); - assertTrue(1 == list.size()); + assertEquals(1, list.size()); assertEquals(highFinding.getCweId(), list.get(0).getCweId()); assertEquals(highFinding.getName(), list.get(0).getName()); assertEquals(1, list.get(0).getCount());