@Test
public void processMessageShouldNotUpdateFirmwareWhenFirmwareFileNotAvailable() throws JMSException, OsgpException {

    // Arrange
    final String firmwareIdentification = "unavailable";
    final ObjectMessage message = new ObjectMessageBuilder().withObject(firmwareIdentification).build();
    when(this.firmwareService.isFirmwareFileAvailable(firmwareIdentification)).thenReturn(false);
    // Act
    this.processor.processMessage(message);
    // Assert
    verify(this.firmwareService, times(0))
            .updateFirmware(this.dlmsConnectionManagerMock, this.device, firmwareIdentification);
}