public RecordingAttributeTest() { saverMock = new Mock<ISaveRecordings>(); saverMock.Setup(saver => saver.SaveMethodRecording(It.IsAny<MethodRecording>())).Verifiable(); RecordingServices.RecordingSaver = saverMock.Object; RecordingServices.RecordingNamer = new TypeAndMethodNamer(); recorder = (DefaultRecorder)RecordingServices.Recorder; recorder.ClearRecordings(); math = new SimpleMath(); math.Add(5, 5); math.Add(10, 10); SimpleMath.AddStatic(15, 15); }