Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio n. 4
0
 public static void True(this IBe <bool> expectation)
 {
     expectation.True(null);
 }