public void GetList_ThrowsArgumentNullException_IfNullOrEmptyStringPassed(string name) { Action action = () => appSettings.GetList(name); action.ShouldThrow <ArgumentNullException>(); }
public void GetList_ThrowsArgumentNullException_IfNullOrEmptyStringPassed(string name) { Assert.Throws <ArgumentNullException>(() => appSettings.GetList(name)); }