public void GetZeroDecimalCount_ParametersAreValid_ReturnResult(decimal[] arrayToSearch, int expectedResult)
        {
            // Act
            int actualResult = DoWhileMethods.GetZeroDecimalCount(arrayToSearch);

            // Assert
            Assert.AreEqual(actualResult, expectedResult);
        }
 public void GetZeroDecimalCount_ArrayToSearchParameterIsNull_ThrowsArgumentNullException()
 {
     // Act
     Assert.Throws <ArgumentNullException>(() => DoWhileMethods.GetZeroDecimalCount(null));
 }