Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #4
0
 public static void True(this IBe <bool> expectation)
 {
     expectation.True(null);
 }