public void OverwriteOutput_Verify() { var setting = new OverwriteOutput(); Assert.DoesNotThrow(() => SettingSerializer.Serialize(setting)); Assert.Equal(SettingSerializer.Serialize(setting), "-y"); }
public void OverwriteOutput_Verify() { var setting = new OverwriteOutput(); Assert.DoesNotThrow(() => { var s = setting.GetAndValidateString(); }); Assert.Equal(setting.GetAndValidateString(), "-y"); }