public bool DetermineFile() #endif { if (ExpectedResults.Count == 0) { throw new Exception(ResourceHelper.GetString("NoExpectedResultsInQueueForUnitTest")); } return(ExpectedResults.Dequeue().Invoke()); }