Beispiel #1
0
 public static void Create <T>(Expression <Func <T, bool> > matcher, string message)
 {
     LastMatcher = new Matcher <T>(matcher, message);
 }
Beispiel #2
0
        public static T ValueOf <T>(Expression <Func <T, bool> > matcher)
        {
            Matcher.Create(matcher, "Object matching " + matcher.Body);

            return(default(T));
        }