If we assign MockMozBluetooth to navigator.mozBluetooth directly, we will get exception.