public async void GetUserProfiles_UsersPagedListWrongParams()
        {
            var repo = new Mock <IRepository <UserProfile> >();

            repo.Setup(r => r.GetAll(It.IsAny <UserProfileParams>())).ReturnsAsync(new PagedList <UserProfile>(AppUsers(), AppUsers().Count, 4, 11));
            var service = new AdministrationService(repo.Object, null);

            var result = await service.GetUserProfiles(new UserProfileParams());

            Assert.NotEmpty(result);
            Assert.Equal(AppUsers().Count, result.TotalCount);
            Assert.False(result.HasNext);
            Assert.True(result.HasPrevious);
            Assert.Equal(1, result.TotalPages);
        }