public void RFIdDetected_MobileNotConnectedAndAvaliable_ConnectingError() { _usbCharger.CurrentValueEvent += Raise.EventWith <CurrentEventArgs>(this, new CurrentEventArgs() { Current = 0 }); _rfidReader.RfidEvent += Raise.EventWith(new RfidEventArgs { RfID = 123456 }); _display.Received(1).Print("Din telefon er ikke ordentlig tilsluttet. Prøv igen."); _door.DidNotReceive().LockDoor(); _chargeControl.DidNotReceive().StartCharge(); _fileLog.DidNotReceive().LogDoorLocked(123456); _display.DidNotReceive().Print("Skabet er låst og din telefon lades. Brug dit RFID tag til at låse op."); }