public void ProceedToNextLocation()
{
if (ExpectedLocations.Count == 0)
{
throw new Exception(ResourceHelper.GetString("NoExpectedResultsInQueueForUnitTest"));
}
var locationTestData = ExpectedLocations.Dequeue();
_currentLocation = locationTestData.Location;
OnLocationChanged();
if (locationTestData.Timeout.HasValue)
{
_timer.Change(locationTestData.Timeout.Value, locationTestData.Timeout.Value);
}
}
#endregion