public MethodRecorderBaseTests() { recorder = new UnorderedMethodRecorder(new ProxyMethodExpectationsDictionary()); testRecorder = new TestMethodRecorder(); recorder.AddRecorder(testRecorder); proxy = new object(); method = typeof(object).GetMethod("ToString"); expectation = new AnyArgsExpectation(new FakeInvocation(method), new Range(1, 1)); args = new object[0]; }
public MethodRecorderBaseTests() { recorder = new UnorderedMethodRecorder(new ProxyMethodExpectationsDictionary()); testRecorder = new TestMethodRecorder(); recorder.AddRecorder(testRecorder); proxy = new object(); method = typeof (object).GetMethod("ToString"); expectation = new AnyArgsExpectation(new FakeInvocation(method), new Range(1, 1)); args = new object[0]; }