public void Windows_newlines_can_separate_items()
            {
                var input = "foo=bar\r\nbar=baz";

                var props = new Properties(input);

                props.Count().ShouldBe(2);
                props.GetProperty("foo").ShouldBe("bar");
                props.GetProperty("bar").ShouldBe("baz");
            }
            public void Whitespace_around_separator_matters_not()
            {
                var input = "key1=value1";

                var props = new Properties(input);

                props.Count().ShouldBe(1);
                props.GetProperty("key1").ShouldBe("value1");
            }
            public void Valid_lines_are_parsed()
            {
                var input = "key1 = value1";

                var props = new Properties(input);

                props.Count().ShouldBe(1);
                props.GetProperty("key1").ShouldBe("value1");
            }
            public void Returns_value()
            {
                var props = new Properties("foo=baz");

                props.GetProperty("foo").ShouldBe("baz");
            }
            public void Returns_default_value_for_missing_property()
            {
                var props = new Properties(string.Empty);

                props.GetProperty("foo", defaultValue: "bar").ShouldBe("bar");
            }
            public void Returns_null_for_missing_property()
            {
                var props = new Properties(string.Empty);

                props.GetProperty("foo").ShouldBeNull();
            }