Summary Test
Created by: armorcodegithubapp[bot]
AssertJ contains many assertions methods specific to common types. Both versions will test the same things, but the dedicated one will provide abetter error message, simplifying the debugging process.
Mitigation: Use assertThat(actual).hasSize(expected) instead.
Finding Id : [158679395|https://app.armorcode.com/#/findings/301/1479/158679395]