@Test
public void testExecuteFailSetRandomisationSettings() throws ProtocolAdapterException, IOException {

    // SETUP
    when(this.dlmsConnection.set(any(SetParameter.class))).thenReturn(AccessResultCode.OTHER_REASON);
    assertThatExceptionOfType(ProtocolAdapterException.class).isThrownBy(() -> {
        // CALL
        this.executor.execute(this.dlmsConnectionManager, this.device, this.dataDto);
    });
}