// ****************************************************************
// 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 IMethod interface represents an method or other named object that
/// is both callable and self-verifying.
///
public interface IMethod : IVerify, ICall
{
///
/// The name of the object
///
string Name { get; }
///
/// Tell the object to expect a certain call.
///
///
void Expect( ICall call );
}
}