public void AscendingSortType_Update_SequenceHasNumbers_ReturnsSequenceInSameOrder()
        {
            var ascendingSortType = new AscendingSortType();

            decimal[] expectedSequence = new decimal[] { 1, 2, 4, 3 };

            IEnumerable <decimal> updatedSequence = ascendingSortType.Update(expectedSequence);

            CollectionAssert.AreEqual(expectedSequence, updatedSequence.ToArray());
        }
        public void AscendingSortType_Update_SequenceIsNull_ReturnsNull()
        {
            var ascendingSortType = new AscendingSortType();

            Assert.ThrowsException <ArgumentNullException>(() => ascendingSortType.Update(null));
        }