public void GetPrimeNumbers_Should_Returns_Correct_PrimeNumbers_Count()
        {
            // Arrange
            IPrimeNumbers primeNumbers = new PrimeNumbersConsole.PrimeNumbers(mock.Object);

            // Act
            IList <int> result = primeNumbers.GetPrimeNumbers(number);

            // Assert
            Assert.IsTrue(result.Count == number);
        }
        public void GetPrimeNumbers_Should_Returns_Correct_PrimeNumbers()
        {
            // Arrange
            int[]         resultArray  = new int[10];
            IPrimeNumbers primeNumbers = new PrimeNumbersConsole.PrimeNumbers(mock.Object);

            // Act
            IList <int> result = primeNumbers.GetPrimeNumbers(number);

            result.CopyTo(resultArray, 0);

            // Assert
            Assert.AreEqual(2, resultArray[0]);
            Assert.AreEqual(3, resultArray[1]);
            Assert.AreEqual(5, resultArray[2]);
        }