public async Task TestInitialize()
        {
            _repository = new WidgetRepository(DatabaseHelper.GetInMemoryContext());

            // Generates the test data for all the pagination tests.
            var widgets = new List <Widget>()
            {
                new Widget()
                {
                    Name = "a"
                },
                new Widget()
                {
                    Name = "b"
                },
                new Widget()
                {
                    Name = "c"
                },

                new Widget()
                {
                    Name = "d"
                },
                new Widget()
                {
                    Name = "e"
                },
                new Widget()
                {
                    Name = "f"
                },

                new Widget()
                {
                    Name = "g"
                },
            };

            await _repository.SaveAsync(widgets);
        }
 public void TestInitialize()
 {
     _repository = new WidgetRepository(DatabaseHelper.GetInMemoryContext());
 }