public void IsTrueTest() { string message = string.Empty; try { ArgumentAssert.IsTrue(true, message); } catch (Exception ex) { Assert.Fail("Assert method must throw no exceptions.\n" + ex.Message); } try { ArgumentAssert.IsTrue(false, message); Assert.Fail("Assert method must throw ArgumentException exception"); } catch (ArgumentException) { // test passed } }