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

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

            var wall = parser.Parse(s);

            Assert.That(wall, Is.Not.Null);
            tile = wall.Apply(tile);
            Assert.That(tile.WallId, Is.EqualTo(expectedWallType));
        }
        public void Parse_InvalidWallType_ReturnsNull(string s)
        {
            var parser = new WallTypeParser();

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