public void Execute_WhenStatusIsComplete() { var mockEl = new Mock<DummyCompoundElement>(); using (RecordExpectations recorder = RecorderManager.StartRecording()) { recorder.ExpectAndReturn(mockEl.Status, ElementStatus.Complete).Repeat(2); mockEl.ResetWithNotification(false); mockEl.ExecutionProper(); } mockEl.Execute(); MockManager.Verify(); }