public void Null_converts_to_empty_array()
        {
            string names = null;
            var    cat   = new PipeLowerCat(names);

            cat.Kittens.Should().BeEquivalentTo(new string[0]);
        }
        public void Null_converts_to_empty_array()
        {
            var cat1 = new PipeCat((string)null);

            cat1.Kittens.Should().BeEquivalentTo(new string[0]);

            var cat2 = new PipeLowerCat((string)null);

            cat2.Kittens.Should().BeEquivalentTo(new string[0]);

            var cat3 = new PipeUpperCat((string)null);

            cat3.Kittens.Should().BeEquivalentTo(new string[0]);
        }
        public void lowercase_returns_lower()
        {
            var cat = new PipeLowerCat("cAT|in|HAT");

            cat.Kittens.Should().BeEquivalentTo(new[] { "cat", "in", "hat" });
        }
        public void empty_string_returns_empty_array()
        {
            var cat = new PipeLowerCat("");

            cat.Kittens.Should().BeEquivalentTo(new string[0]);
        }