private static Match <GenericParameterHelper> NewDummy() { return(Match.Custom(new MatchDummy <GenericParameterHelper>())); }
private static Match <T> NewDummy <T>() { return(Match.Custom(new MatchDummy <T>())); }
private static Match <int> NewDummy() { return(Match.Custom(new MatchDummy <int>())); }
private static Match <int> NewInstance(params int[] references) { return(NewInstance(references.Select(reference => Match.Custom(new MatchStub(reference))).ToArray())); }
private static Match <int> NewInstance(int reference) { return(Match.Custom(new MatchStub(reference))); }
public void Throws_Exception_On_Creation_When_Custom_Match_Is_Null() { Match.Custom <int>(null); }