2 ms·
Moq® cannot do it. I forked Moq® and made a library that can mock classes: https://github.com/Kuinox/Myna https://github.com/Kuinox/Myna. It can do that by we
by Kuinox 2y ago
Moq® cannot do it. I forked Moq® and made a library that can mock classes: https://github.com/Kuinox/Myna https://github.com/Kuinox/Myna.
It can do that by weaving the class you mock at compile time for your mocks (you can still use your class normally).