1 // ****************************************************************
2 // Copyright 2007, Charlie Poole
3 // This is free software licensed under the NUnit license. You may
4 // obtain a copy of the license at http://nunit.org/?p=license&r=2.4
5 // ****************************************************************
12 /// The ICallHandler interface dispatches calls to methods or
13 /// other objects implementing the ICall interface.
15 public interface ICallHandler
18 /// Simulate a method call on the mocked object.
20 /// <param name="methodName">The name of the method</param>
21 /// <param name="args">Arguments for this call</param>
22 /// <returns>Previously specified object or null</returns>
23 object Call( string methodName
, params object[] args
);