public void Parse_NullS_ThrowsArgumentNullException()
        {
            var parser = new BlockColorParser();

            // ReSharper disable once AssignNullToNotNullAttribute
            Assert.That(() => parser.Parse(null), Throws.ArgumentNullException);
        }
        public void Parse(string s, byte expectedBlockColor)
        {
            var parser = new BlockColorParser();
            var tile   = new Tile();

            var color = parser.Parse(s);

            Assert.That(color, Is.Not.Null);
            tile = color.Apply(tile);
            Assert.That(tile.BlockColor, Is.EqualTo(expectedBlockColor));
        }
        public void Parse_InvalidBlockColor_ReturnsNull(string s)
        {
            var parser = new BlockColorParser();

            Assert.That(parser.Parse(s), Is.Null);
        }