/// <summary>
 /// Delay for a specified number of milliseconds.
 /// </summary>
 /// <param name="millisecondsToDelay">Number of milliseconds</param>
 private void DelayMilliseconds(int millisecondsToDelay)
 {
     _timingProvider.DelayMilliseconds(millisecondsToDelay);
 }