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