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