chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes

I'm doing an Assert.AreEqual on a mocked interface instance. In 2 of 3 test methods, checking for equality on the mock fails. I was curious why that would be... any guidelines for checking equality in this case?


MS Test Result:

Failed Assert.AreEqual failed. Expected:<Mock0000IUnitOfWork>. Actual:<Mock0000IUnitOfWork>.
asked by bmains (13.2k points)

1 Answer

0 votes
Hi Brian,

Can you please post here the test code?
answered by ohad (35.4k points)