예제 #1
0
 private static Match <GenericParameterHelper> NewDummy()
 {
     return(Match.Custom(new MatchDummy <GenericParameterHelper>()));
 }
 private static Match <T> NewDummy <T>()
 {
     return(Match.Custom(new MatchDummy <T>()));
 }
예제 #3
0
 private static Match <int> NewDummy()
 {
     return(Match.Custom(new MatchDummy <int>()));
 }
예제 #4
0
 private static Match <int> NewInstance(params int[] references)
 {
     return(NewInstance(references.Select(reference => Match.Custom(new MatchStub(reference))).ToArray()));
 }
예제 #5
0
 private static Match <int> NewInstance(int reference)
 {
     return(Match.Custom(new MatchStub(reference)));
 }
예제 #6
0
 public void Throws_Exception_On_Creation_When_Custom_Match_Is_Null()
 {
     Match.Custom <int>(null);
 }