mardi 2 février 2016

How to mock one method with two different way using MOQ?

TAggregate Load(Expression> predicate, params Expression>[] includes) where TAggregate : class;

I want this method mocked with two different ways, in one test method when I use it will give one by one output as per expectation.

Aucun commentaire:

Enregistrer un commentaire