Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
 public static void True(this IBe <bool> expectation)
 {
     expectation.True(null);
 }