public void DeleteValue_WithNullSettings_Throws() { var ex = Record.Exception(() => SettingsUtility.DeleteValue(settings: null, section: "randomSection", attributeKey: "randomKey", attributeValue: "randomValue")); ex.Should().NotBeNull(); ex.Should().BeOfType <ArgumentNullException>(); }