samedi 26 mars 2016

How to test Inteface Method

interface ITest
{
    void Run();
}

class Test : ITest
{
    void ITest.Run() => Run();
    public int Run()
    {
        //...
    }
}

Hello, how to verify that ITest.Run() execute "Run" of Test?

Aucun commentaire:

Enregistrer un commentaire