@Test
void onConnectError() {

    // SETUP
    final Mqtt3ConnAck ack = mock(Mqtt3ConnAck.class);
    final Throwable throwable = mock(Throwable.class);
    // CALL
    this.instance.onConnect(this.mqttClientAdapter, ack, throwable);
    // VERIFY
    verify(this.messageMetadata).getDeviceIdentification();
}