public void AssertIsValid_WithLimitofArmsReached_ReturnsDroidTooManyArmsException()
        {
            // Arrange
            var validation = new DroidValidationInfo {
                NbArm = 2
            };

            // Act
            var exception = Record.Exception(() => Droid.AssertIsValid(validation));

            // Assert
            exception.Should().BeOfType <DroidTooManyArmsException>();
        }
        public void AssertIsValid_WithLimitofArmsNotReached_ShouldRaiseNoException()
        {
            // Arrange
            var validation = new DroidValidationInfo {
                NbArm = 1
            };

            // Act
            var exception = Record.Exception(() => Droid.AssertIsValid(validation));

            // Assert
            exception.Should().BeNull();
        }