Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void NotEmpty() { Assert.ThrowsExact <ArgumentNullException>(() => Assert.NotEmpty <int>(null)); Assert.ThrowsExact <AssertionException>(() => Assert.NotEmpty(new int[] { })); Assert.ThrowsExact <AssertionException>(() => Assert.NotEmpty(string.Empty)); Assert.DoesNotThrow(() => Assert.NotEmpty(new[] { 1, 2, 3 })); }