Created
April 24, 2015 08:12
-
-
Save herecydev/081a7703866f19005b95 to your computer and use it in GitHub Desktop.
Moq issue with many observers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IMakeStuff : IObserver<int>, IObserver<string>, IObserver<bool> { } | |
public class Tests | |
{ | |
[Fact] | |
public void SimpleTest() | |
{ | |
var maker = new Mock<IMakeStuff>() | |
// Exception here | |
var obj = maker.Object; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment