Ejemplo n.º 1
0
        public void OverwriteOutput_Verify()
        {
            var setting = new OverwriteOutput();

            Assert.DoesNotThrow(() => SettingSerializer.Serialize(setting));
            Assert.Equal(SettingSerializer.Serialize(setting), "-y");
        }
Ejemplo n.º 2
0
        public void OverwriteOutput_Verify()
        {
            var setting = new OverwriteOutput();

            Assert.DoesNotThrow(() => { var s = setting.GetAndValidateString(); });
            Assert.Equal(setting.GetAndValidateString(), "-y");
        }