public void IsValid_WhenGameIdIsGreaterThan0AndXYAreLessThanOrEqualTo2_ShouldBeTrue()
        {
            // arrange
            int  gameId  = 1;
            byte x       = 2;
            byte y       = 0;
            var  command = new CreateCrossPlayerGameTileCommand()
            {
                GameId = gameId,
                X      = x,
                Y      = y
            };
            var validator = new CreateCrossPlayerGameTileCommandValidator();

            // act
            FluentValidation.Results.ValidationResult result = validator.Validate(command);

            // assert
            result.IsValid.ShouldBe(true);
        }
        public void IsValid_WhenGameIdIsNought_ShouldBeFalse()
        {
            // arrange
            int  gameId  = 0;
            byte x       = 2;
            byte y       = 2;
            var  command = new CreateCrossPlayerGameTileCommand()
            {
                GameId = gameId,
                X      = x,
                Y      = y
            };
            var validator = new CreateCrossPlayerGameTileCommandValidator();

            // act
            FluentValidation.Results.ValidationResult result = validator.Validate(command);

            // assert
            result.IsValid.ShouldBe(false);
        }