@Test
public void testUnknownAttribute() throws ProtocolAdapterException {

    // SETUP
    when(this.dlmsObjectConfigService.findAttributeAddress(this.device, DlmsObjectType.RANDOMISATION_SETTINGS,
            null)).thenReturn(Optional.empty());
    assertThatExceptionOfType(ProtocolAdapterException.class).isThrownBy(() -> {
        // CALL
        this.executor.execute(this.dlmsConnectionManager, this.device, this.dataDto);
    });
}