public void Should_Throw_If_Settings_Are_Null() { // Given NpmSettings settings = null; // When var result = Record.Exception(() => settings.FromPath(@"c:\temp")); // Then result.IsArgumentNullException("settings"); }
public void Should_Throw_If_Settings_Are_Null() { // Given NpmSettings settings = null; // When var result = Record.Exception(() => settings.WithLogLevel(NpmLogLevel.Default)); // Then result.IsArgumentNullException("settings"); }