lundi 1 juin 2015

writting unit test to test method using FakeItEasy

want to write unit test for a method_A which depends on Method_B execution which would be called inside the Method_A.

Want to write unit test case using FakeItEasy

for example:

Class FakeItEasy
{
  Void Method_A()
{
Method_B();
//Do Something
}


void Method_B()
{
 // Do Something
}

}

Aucun commentaire:

Enregistrer un commentaire