示例#1
0
 public static void AssertMatch(Object actual, IMatcher matcher)
 {
     matcher.AssertMatch(actual);
 }
示例#2
0
 /// <summary>
 /// Convenience method to assert an instance matches the given matcher
 /// </summary>
 /// <param name="actual">the instance to pass to the matcher</param>
 /// <param name="matcher">the matcher to invoke</param>
 public static void AssertMatch <T>(T actual, IMatcher <T> matcher)
 {
     matcher.AssertMatch(actual);
 }