Ejemplo n.º 1
0
 /// <summary>
 /// Tests if a boolean value is True
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 /// <param name="message">Custom message to include on failure</param>
 public static void True(this IBe <bool?> continuation, string message)
 {
     continuation.True(() => message);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Tests if a boolean value is True
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 public static void True(
     this IBe <bool> continuation)
 {
     continuation.True(NULL_STRING);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Tests if a boolean value is True
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 public static void True(this IBe <bool?> continuation)
 {
     // ReSharper disable once ConditionIsAlwaysTrueOrFalse
     continuation.True(null as string);
 }
Ejemplo n.º 4
0
 public static void True(this IBe <bool> expectation)
 {
     expectation.True(null);
 }