// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
// ****************************************************************
using System;
namespace NUnit.Mocks
{
///
/// The ICallHandler interface dispatches calls to methods or
/// other objects implementing the ICall interface.
///
public interface ICallHandler
{
///
/// Simulate a method call on the mocked object.
///
/// The name of the method
/// Arguments for this call
/// Previously specified object or null
object Call( string methodName, params object[] args );
}
}