@Test
void testCheckFirmwareHistoryForNonExistingVersion() {

    // Arrange
    final FirmwareVersion firmwareVersion1 = new FirmwareVersion(FirmwareModuleType.SECURITY, VERSION_2);
    final FirmwareVersion firmwareVersion2 = new FirmwareVersion(FirmwareModuleType.FUNCTIONAL, VERSION_3);
    final List<FirmwareVersion> versionsOnDevice = Arrays.asList(firmwareVersion1, firmwareVersion2);
    final List<FirmwareVersion> expected = Collections.singletonList(firmwareVersion2);
    // Act
    final List<FirmwareVersion> versionsNotInHistory = this.firmwareManagementService
            .checkFirmwareHistoryForVersion("DVC", versionsOnDevice);
    // Assert
    assertThat(versionsNotInHistory).withFailMessage("Lists should be equal").isEqualTo(expected);
}