public void reading_inputs_that_have_no_known_values_throws()
        {
            var substitutions = new Substitutions();
            substitutions.Set("key", "something");

            var markMissing = MockRepository.GenerateMock<Action<string>>();

            var inputs = new[]
            {
                new Input {Name = "Foo"},
                new Input {Name = "Bar"},
            };

            substitutions.ReadInputs(inputs, markMissing);

            markMissing.AssertWasCalled(x => x.Invoke("Foo"));
            markMissing.AssertWasCalled(x => x.Invoke("Bar"));
        }
        public void SetUp()
        {
            markMissing = MockRepository.GenerateMock<Action<string>>();

            substitutions = new Substitutions();
            substitutions.Set("%SHORT_NAME%", "BigProject");

            var inputs = new[]
            {
                new Input("%REGISTRY%=%SHORT_NAME%Registry"),
                new Input("Foo=Bar"),
                new Input("%SHORT_NAME%=different")
            };

            substitutions.ReadInputs(inputs, markMissing);
        }