public async Task IntegerBasicMethod_ExecuteAsync_ShouldReturnIntegerValuesInRange()
        {
            int numberToReturn = 2;
            int minNumber = _random.Next(1, 1000);
            int maxNumber = _random.Next(minNumber + 1, 1000000);
            bool allowDuplicates = _random.Next(1, 2) == 1;

            // Act
            var target = new IntegerBasicMethod(_advisoryDelayHandler);
            var results = await target.GenerateIntegersAsync(numberToReturn, minNumber, maxNumber, allowDuplicates);

            TestResults(results.ToList(), numberToReturn, minNumber, maxNumber, allowDuplicates);
        }
        public async Task IntegerBasicMethod_ExecuteAsync_ShouldReturnIntegerValuesInRange()
        {
            // Arrange
            BaseMethodTest bmt = new BaseMethodTest();
            int numberToReturn = 2;
            int minNumber = bmt.Random.Next(1, 1000);
            int maxNumber = bmt.Random.Next(minNumber + 1, 1000000);
            bool allowDuplicates = bmt.Random.Next(1, 2) == 1;

            // Act
            var target = new IntegerBasicMethod(bmt.AdvisoryDelayHandler, bmt.Service);
            var results = await target.GenerateIntegersAsync(numberToReturn, minNumber, maxNumber, allowDuplicates);

            // Assert
            TestResults(results.ToList(), numberToReturn, minNumber, maxNumber, allowDuplicates);
        }