public void Test_ResolveVariable_Should_Correctly_Resolve_Parent_Property()
        {
            /* Given: the valid json file */
            IResource json = new FileSystemResource("..\\..\\Sample\\Valid\\Config\\sample.json");

            /* When: variable should be resolved */
            string applicationName = new Spring.Objects.Factory.Config.JsonVariableSource(json).ResolveVariable("applicationName");

            /* Then: applicationName should be resolved correctly */
            applicationName.Should().Be("Sample Application");
        }
        public void Test_ResolveVariable_Should_Correctly_Resolve_Child_Property()
        {
            /* Given: the valid json file */
            IResource json = new FileSystemResource("..\\..\\Sample\\Valid\\Config\\sample.json");

            /* When: child variable should be resolved */
            string login = new Spring.Objects.Factory.Config.JsonVariableSource(json).ResolveVariable("credentials.login");

            /* Then: login-name of credentials should be resolved correctly */
            login.Should().Be("username");
        }