Example #1
0
 public static void Count <T>(this IAssertionTool assertTool, Expression <Func <int> > expected, Expression <Func <IEnumerable <T> > > collection, string msg)
 {
     assertTool.Count(expected, collection, "{0}", msg);
 }
Example #2
0
 public static void Count <T>(this IAssertionTool assertTool, Expression <Func <int> > expected, Expression <Func <IEnumerable <T> > > collection)
 {
     assertTool.Count(expected, collection, null, null);
 }
Example #3
0
 public static void Count <T>(this IAssertionTool assertTool, int expected, IEnumerable <T> collection, string msg)
 {
     assertTool.Count(() => expected, () => collection, "{0}", msg);
 }
Example #4
0
 public static void Count <T>(this IAssertionTool assertTool, int expected, Expression <Func <IEnumerable <T> > > collection, string msg, params object[] fmt)
 {
     assertTool.Count(() => expected, collection, msg, fmt);
 }
Example #5
0
 public static void Count <T>(this IAssertionTool assertTool, int expected, IEnumerable <T> collection)
 {
     assertTool.Count(() => expected, () => collection, null, null);
 }