public void AllAliasesMustBeResolved() { YamlStream original = new YamlStream(); original.Load(YamlFile("invalid-reference.yaml")); var visitor = new AliasFindingVisitor(); try { original.Accept(visitor); } catch (NotSupportedException) { foreach (var node in visitor.CurrentPath) { TestContext.WriteLine(node.ToString()); } Assert.Fail(); } }