@Test
public void processMessageShouldSendFirmwareFileRequestWhenFirmwareFileNotAvailable() throws JMSException {

    // 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.osgpRequestMessageSender, times(1))
            .send(any(RequestMessage.class), any(String.class), any(MessageMetadata.class));
}