public void GetOptionalScalarValueUnconditional() { var doc = Load(@"--- first: 1 second: 2 third: 3 "); var v = parser.GetOptionalScalarValue(doc.RootNode, "second", "fallback"); v.Should().Be("2"); }