public void RfidDetected_DoorStatusFalse_ChargeIsConnectedTrue_StateEqualTo_LadeskabStateLocked(int TestId) { _door.CurrentDoorStatus.Returns(false); _chargeControl.isConnected().Returns(true); _rfidReader.RFIDValueEvent += Raise.EventWith(new RFIDEventArgs { id = TestId }); Assert.That(_uut.GetState(), Is.EqualTo("Locked")); }