public async void GetUserProfileInfo_UserNotFound()
        {
            var users = new List <UserProfile>()
            {
                new UserProfile {
                    Id = "AADA83F1-A63C-4F2A-AF22-DA7E5E57C6F6"
                }
            };
            var repo = new Mock <IRepository <UserProfile> >();

            repo.Setup(r => r.GetById(Guid.Parse("62EE5B40-DDBC-4C19-953A-D465A6294B98"))).ReturnsAsync(users.FirstOrDefault(u => u.Id.Equals("62EE5B40-DDBC-4C19-953A-D465A6294B98")));
            var service = new AdministrationService(repo.Object, null);

            var result = await service.GetUserProfileInfo("62EE5B40-DDBC-4C19-953A-D465A6294B98");

            Assert.Null(result);
        }
        public async void GetUserProfileInfo_UserFound()
        {
            var users = new List <UserProfile>()
            {
                new UserProfile {
                    Id = "D809E7C3-4E25-4A07-9CCD-6823EF34FDEE"
                }
            };
            var repo = new Mock <IRepository <UserProfile> >();

            repo.Setup(r => r.GetById(Guid.Parse("D809E7C3-4E25-4A07-9CCD-6823EF34FDEE"))).ReturnsAsync(users.FirstOrDefault(u => u.Id.Equals("D809E7C3-4E25-4A07-9CCD-6823EF34FDEE")));
            var service = new AdministrationService(repo.Object, null);

            var result = await service.GetUserProfileInfo("D809E7C3-4E25-4A07-9CCD-6823EF34FDEE");

            Assert.NotNull(result);
        }