public void NonEmptyArrayNegative() { // act, assert Assert.Throws <ArgumentException>(() => ArgumentCheck.NonEmptyArray( new List <string>().ToArray(), nameof(ArgumentCheck))); }
public void NonEmptyArrayPositive() { // act ArgumentCheck.NonEmptyArray(new[] { string.Empty }, nameof(ArgumentCheck)); // assert that we don't throw exception Assert.True(true); }