public bool MyMethod(IMyClass c) { //Code you want to test c.Foo(); }
public void Foo() { _myClass.Foo(); }
public void Bar() { _myClass.Foo(); }