public void GetPartnersForAdminShouldGetPartnersCorrectly()
        {
            var mockList = new List <AdminPartnerViewModel>
            {
                new AdminPartnerViewModel
                {
                    Name = "Google"
                },
                new AdminPartnerViewModel
                {
                    Name = "NASA"
                },
                new AdminPartnerViewModel
                {
                    Name = "Microsoft"
                }
            };

            var options = new DbContextOptionsBuilder <IntillegioContext>()
                          .UseInMemoryDatabase(databaseName: "Get_All_Partners_for_Admin_Db")
                          .Options;
            var dbContext = new IntillegioContext(options);

            var mapper = new Mock <IMapper>();

            mapper.Setup(m => m.Map <IEnumerable <AdminPartnerViewModel> >(
                             dbContext.Partners))
            .Returns(mockList);

            var partnerCount = 3;

            for (int i = 0; i < partnerCount; i++)
            {
                dbContext.Partners.Add(new Partner());
            }

            dbContext.SaveChanges();
            var service = new PartnersService(dbContext, mapper.Object, null);

            var allPartners = service.GetPartnersForAdmin();

            Assert.NotNull(allPartners);
        }