public static void ShouldTrue(this bool result) { AssertHelper.WriteLineForShouldBeTrue(result); Assert.IsTrue(result); }
public static void ShouldFalse(this bool result) { AssertHelper.WriteLineForShouldBeFalse(result); Assert.IsFalse(result); }
public static object ShouldNotNull(this object value) { AssertHelper.WriteLineForShouldBeNotNull(value); Assert.IsNotNull(value); return(value); }
public static string WithPrefix(this string value, bool isOk = true) { return(AssertHelper.PrefixKo(value)); }
public static string WithKoPrefix(this string value) { return(AssertHelper.PrefixKo(value)); }
public static string WithOkPrefix(this string value) { return(AssertHelper.PrefixOk(value)); }
public static void ShouldThrows <T>(this Action action) where T : Exception { AssertHelper.ShouldThrows <T>(action); }