Ejemplo n.º 1
0
 /// <summary>
 /// Asserts that the current object has not been initialized yet.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="that"></param>
 /// <param name="message"></param>
 public static void BeNull <T>(this EventualAssertions <T> that, string message = null) where T : class
 {
     that.Be(null, message);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Asserts that the value is false.
 /// </summary>
 /// <param name="that"></param>
 /// <param name="message"></param>
 public static void BeFalse(this EventualAssertions <bool> that, string message = null)
 {
     that.Be(expectedValue: false, message: message);
 }