Beispiel #1
0
 public static IMatcher <KeyValuePair <K, V> > EqualTo <K, V>(K key, V value)
 {
     return(EqualTo(AnInstance.EqualTo(key), AnInstance.EqualTo(value)));
 }
Beispiel #2
0
 public static IMatcher <Uri> EqualTo(Uri expect)
 {
     return(Matchers.Function((Uri actual, IMatchDiagnostics diag) => diag.TryMatch(actual, AnInstance.EqualTo(expect)), () => "a uri equal to " + expect));
 }
Beispiel #3
0
 public static IMatcher <KeyValuePair <K, V> > EqualTo <K, V>(K key, IMatcher <V> valueMatcher)
 {
     return(EqualTo(AnInstance.EqualTo(key), valueMatcher));
 }