Example #1
0
        public void Should_parse_the_command_line_correctly()
        {
            string value = _binder.GetValueAsString("name");

            value.ShouldEqual("dru");
        }
Example #2
0
        public void A_local_value_should_override_a_global_value()
        {
            string value = _binder.GetValueAsString("key1");

            value.ShouldEqual("local-value-1");
        }
Example #3
0
        public void Should_parse_the_first_value()
        {
            string value = _binder.GetValueAsString("my-key");

            value.ShouldEqual("my-value");
        }