Ejemplo n.º 1
0
 /// <summary>
 /// Tests that a cookie has the expected value
 /// </summary>
 /// <param name="with"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public static IMore <Cookie> Value(
     this IWith <Cookie> with,
     string value
     )
 {
     return(with.Value(value, NULL_STRING));
 }
Ejemplo n.º 2
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 IWith <T> with,
     object expected
     )
 {
     return(with.Value <T>(expected, NULL_STRING));
 }
Ejemplo n.º 3
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 IWith <T> with,
     object expected,
     string customMessage
     )
 {
     return(with.Value(expected, () => customMessage));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Tests that a cookie has the expected value
 /// </summary>
 /// <param name="with"></param>
 /// <param name="value"></param>
 /// <param name="customMessage"></param>
 /// <returns></returns>
 public static IMore <Cookie> Value(
     this IWith <Cookie> with,
     string value,
     string customMessage
     )
 {
     return(with.Value(value, () => customMessage));
 }