public void TestLoginValidCredentials()
        {
            var SoapService = new AuthenticationServiceREST();
            var validationResults = SoapService.AuthenticateUser(new Models.UserDetails() { Password = "******", UserName = "******" });

            Assert.True(validationResults.IsAuthenticated);
        }
 public void TestLoginValidCredentialsAndGroups()
 {
     var SoapService = new AuthenticationServiceREST();
     var validationResults = SoapService.AuthenticateUserAndGetGroupMemberships(new Models.UserDetails() { Password = "******", UserName = "******" });
     Assert.True(validationResults.IsAuthenticated &&  validationResults.ListOfADGroups != null && validationResults.ListOfADGroups.Count > 0);
 }
 public void TestLoginInValidCredentialsAndGroups()
 {
     var SoapService = new AuthenticationServiceREST();
     var validationResults = SoapService.AuthenticateUserAndGetGroupMemberships(new Models.UserDetails() { Password = "******", UserName = "******" });
     Assert.False(validationResults.IsAuthenticated);
 }