コード例 #1
0
 /// <summary>
 /// Continues testing a named property for an expected value
 /// </summary>
 /// <param name="with"></param>
 /// <param name="expected"></param>
 /// <typeparam name="T"></typeparam>
 public static IMore <T> Value <T>(
     this IAnd <T> with,
     object expected
     )
 {
     return(with.Value <T>(expected, NULL_STRING));
 }
コード例 #2
0
 /// <summary>
 /// Continues testing a named property for an expected value
 /// </summary>
 /// <param name="with"></param>
 /// <param name="expected"></param>
 /// <param name="customMessage"></param>
 /// <typeparam name="T"></typeparam>
 public static IMore <T> Value <T>(
     this IAnd <T> with,
     object expected,
     string customMessage
     )
 {
     return(with.Value(expected, () => customMessage));
 }