If you want to use RahnoMock (Mocking framework) then you can create as follows
static void Main(string[] args)
{
var logger = Rhino.Mocks.MockRepository.GenerateStub<ILogger>();
logger.Log("hello");
}
public interface ILogger
{
void Log(string data);
}
</ilogger>
Note: You need to take a reference of Rhino.Mocks.dll assembly.
More details:
http://hibernatingrhinos.com/oss/rhino-mocks[
^]