public void ScopeTo_should_return_same_node_if_scope_is_empty()
        {
            var objectNode = new ObjectNode("root");
            var arrayNode  = new ArrayNode("root");
            var valueNode  = new ValueNode("root");

            objectNode.ScopeTo().Should().BeSameAs(objectNode);
            arrayNode.ScopeTo().Should().BeSameAs(arrayNode);
            valueNode.ScopeTo().Should().BeSameAs(valueNode);
        }
        public void ScopeTo_should_throw_if_scope_contains_null_items()
        {
            var node = new ObjectNode("root");

            new Action(() => node.ScopeTo(null as string)).Should().Throw <ArgumentException>().Which.ShouldBePrinted();
        }