public static void AssertNotNullOrWhiteSpace(this string arg, string argName) { ArgumentHelper.AssertNotNullOrWhiteSpace(arg, argName); }
public void assert_not_null_or_white_space_throws_if_string_contains_only_white_space() { Assert.Throws <ArgumentException>(() => ArgumentHelper.AssertNotNullOrWhiteSpace(" \t \r \n ", "test")); }
public void assert_not_null_or_white_space_does_not_throw_if_string_is_not_entirely_white_space() { ArgumentHelper.AssertNotNullOrWhiteSpace(" a ", "test"); }
public void assert_not_null_or_white_space_throws_if_string_is_empty() { Assert.Throws <ArgumentException>(() => ArgumentHelper.AssertNotNullOrWhiteSpace(string.Empty, "test")); }