FirmwareService { public List<FirmwareVersionDto> getFirmwareVersions(final DlmsConnectionManager conn, final DlmsDevice device) throws ProtocolAdapterException { return this.getFirmwareVersionsCommandExecutor.execute(conn, device, null); }  List<FirmwareVersionDto> getFirmwareVersions(final DlmsConnectionManager conn, final DlmsDevice device); UpdateFirmwareResponseDto updateFirmware(final DlmsConnectionManager conn, final DlmsDevice device,
            final String firmwareIdentification); UpdateFirmwareResponseDto updateFirmware(final DlmsConnectionManager conn, final DlmsDevice device,
            final FirmwareFileDto firmwareFileDto); boolean isFirmwareFileAvailable(final String firmwareIdentification);  }
@Test public void getFirmwareVersionsShouldCallExecutor() throws ProtocolAdapterException { this.firmwareService.getFirmwareVersions(this.dlmsConnectionManagerMock, this.dlmsDeviceMock); verify(this.getFirmwareVersionsCommandExecutor, times(1)).execute(this.dlmsConnectionManagerMock, this.dlmsDeviceMock, null); }