Ejemplo n.º 1
0
        public void ShouldSignIn()
        {
            var user = new User("*****@*****.**", "123456", ServerType.Gmail);

            var login = new GoogleAuth();

            _ = login.SignIn(user);
            var information = login.GetUserInformation();

            Assert.NotNull(information);
            Assert.Equal(user.Email, information.Email);
            Assert.Equal(user.ServerType, information.ServerType);
        }