public void Should_Set_Production() { // Given var settings = new NpmCiSettings(); // When settings.ForProduction(); // Then settings.Production.ShouldBe(true); }
public void Should_Throw_If_Settings_Are_Null() { // Given NpmCiSettings settings = null; // When var result = Record.Exception(() => settings.ForProduction()); // Then result.IsArgumentNullException("settings"); }