unit testing with Moq, getting conversion errors.

Hi all,

So i'm in a pickle. Basically, i'm writing a unit test with moq, and I keep getting "x cannot implicitly convert to y" errors.

The thing is, from all that i've read, that shouldn't be happening. As i understand it, Moq shouldn't really have any conversion issues, at least not among public objects.

Here is my code as it currently stands: http://ift.tt/1Tapxm8

If anyone can explain what i'm doing wrong, I'd love to hear it. Thanks!

by rasellers0 via /r/csharp

Leave a Reply