public async Task TestIfGetAllBoxesThrowsError()
        {
            var context = PCHUBDbContextInMemoryInitializer.InitializeContext();

            var adminPageService = new Areas.Administration.Services.AdminIndexPageServices(context);

            await Assert.ThrowsAsync <NullReferenceException>(async() =>
            {
                await adminPageService.GetAllBoxesAsync();
            });
        }
        public async Task TestIfGetAllBoxesWorksAccordingly(string color, string href, string text)
        {
            var context = PCHUBDbContextInMemoryInitializer.InitializeContext();

            var adminPageService = new Areas.Administration.Services.AdminIndexPageServices(context);

            var model = new AddBoxViewModel();

            await adminPageService.CreateIndexPageAsync("Index");

            model.Color = color;
            model.Href  = href;
            model.Text  = text;

            await adminPageService.AddBoxAsync(model);

            var result = await adminPageService.GetAllBoxesAsync();

            Assert.NotEmpty(result);
            Assert.Equal(1, result.Count());
        }