public void TestIsNotEmptyStringFalse() { Assert.Throws <XAssertionFailedException>(() => { XAssert.That(string.Empty, IsNot.EmptyString()); }); }
public void TestsCanBeChained() { XAssert .That("string", IsNot.EmptyString()) .And(Is.MatchFor("ing")) .And(Is.MatchFor("str")); }
public void TestsCanBeChainedSecondFails() { Assert.Throws <XAssertionFailedException>(() => { XAssert .That("test2", IsNot.EmptyString()) .And(Is.EqualTo("test")); }); }
public void TestIsNotEmptyStringTrue() { XAssert.That("Test", IsNot.EmptyString()); }