Exemple #1
0
        public void ShouldReturnSuccessIfCredentialsProvided()
        {
            //Arrange
            var request = _factory.GetUserCredential();

            //Act
            UserCredentialResponse response = _service.Login(request);

            //Assert
            Assert.NotNull(response);
            Assert.Equal(request.Username, response.Username);
            Assert.Equal(request.Password, response.Password);
        }