public void Trims_the_individual_values()
        {
            var retriever = new StringArrayValueRetriever();

            var result = retriever.GetValue("A , B, C ");

            AssertTheArray(result);
        }
        public void Returns_array_from_mixed_separator_list()
        {
            var retriever = new StringArrayValueRetriever();

            var result = retriever.GetValue("A,B;C");

            AssertTheArray(result);
        }
        public void Returns_array_from_semicolon_separated_list()
        {
            var retriever = new StringArrayValueRetriever();

            var result = retriever.GetValue("A;B;C");

            AssertTheArray(result);
        }
        public void Cannot_retrieve_other_properties()
        {
            var retriever = new StringArrayValueRetriever();

            retriever.CanRetrieve(new KeyValuePair <string, string>(), null, typeof(int[])).Should().BeFalse();
            retriever.CanRetrieve(new KeyValuePair <string, string>(), null, typeof(List <string>)).Should().BeFalse();
            retriever.CanRetrieve(new KeyValuePair <string, string>(), null, typeof(string)).Should().BeFalse();
        }
        public void Trims_the_individual_values()
        {
            var retriever = new StringArrayValueRetriever();

            var result = retriever.GetValue("A , B, C ");

            result[0].Should().Be("A");
            result[1].Should().Be("B");
            result[2].Should().Be("C");
            result.Length.Should().Be(3);
        }
        public void Can_retrieve_string_array_properties()
        {
            var retriever = new StringArrayValueRetriever();

            retriever.CanRetrieve(new KeyValuePair <string, string>(), null, typeof(string[])).Should().BeTrue();
        }