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