public async void GetLatest_OnlyGrabsTheSpecifiedNumber()
        {
            var database = IntegrationDatabase.CreateBlankDatabase();
            using (var context = database.CreateContext())
            {
                DateTime startDate = new DateTime(2015, 5, 1);
                for (int i = 1; i <= 15; i++)
                {
                    var comic = new Comic()
                    {
                        ComicNumber = i,
                        ComicType = ComicType.Explosm,
                        ImageSrc = $"http://www.example.com/images/{i}.png",
                        PublishedDate = startDate.AddDays(i).Date
                    };

                    context.Comics.Add(comic);
                }

                await context.SaveChangesAsync();

                var repo = new ComicsRepository(context);
                var recent = repo.GetLatestComics(ComicType.Explosm);

                Check.That(recent).HasSize(10);
            }
        }
        public async void GetLatest_ComicsAreInReverseChronologicalOrder()
        {
            var database = IntegrationDatabase.CreateBlankDatabase();
            using (var context = database.CreateContext())
            {
                DateTime startDate = new DateTime(2015, 5, 1);
                for (int i = 0; i < 15; i++)
                {
                    var comic = new Comic()
                    {
                        ComicNumber = i+1,
                        ComicType = ComicType.Explosm,
                        ImageSrc = $"http://www.example.com/images/{i}.png",
                        PublishedDate = startDate.AddDays(i).Date
                    };

                    context.Comics.Add(comic);
                }

                await context.SaveChangesAsync();

                var repo = new ComicsRepository(context);
                var recent = repo.GetLatestComics(ComicType.Explosm);

                Check.That(recent.First().PublishedDate).IsEqualTo(new DateTime(2015, 5, 15));
                Check.That(recent.Last().PublishedDate).IsEqualTo(new DateTime(2015, 5, 6));
            }
        }