public void AddScreenshotImage_Test()
 {
     string testKey = Guid.NewGuid().ToString();
     IGameScreenshotCache screenCache = new GameScreenshotCache(testKey);
     string tempFileName = Path.GetTempFileName();
     using (Stream stream = TestUtilities.GetResource("GameCache.600x600.gif"))
     {
         Image image = Image.FromStream(stream);
         screenCache.AddScreenshot(image);
     }
     Assert.NotEmpty(screenCache.ScreenshotCollection);
 }
 public void GameScreenshotCacheCreation_Test()
 {
     string testKey = Guid.NewGuid().ToString();
     IGameScreenshotCache screenCache = new GameScreenshotCache(testKey);
     Assert.True(Directory.Exists(Path.Combine(screenCache.RootPath, screenCache.CacheKey)));
 }