public void IsNotEmpty_WhenStringIsEmpty_Throws(string value) { var data = new FileData { StringValue = value }; Assert.Throws<ArgumentException>(() => data.IsNotEmpty()); }
public void IsNotEmpty_WhenStringIsNotEmpty_Succeeds() { var data = new FileData { StringValue = "abv" }; Assert.DoesNotThrow(() => data.IsNotEmpty()); }