public void DoInterface(MyInterface myInterface) { Console.WriteLine(myInterface.MethodA() + " Expected: MethodA()"); Console.WriteLine(myInterface.MethodB() + " Expected: MyInterface.MethodB()"); }