Exemplo n.º 1
0
        public void testValidLogin()
        {
            loginService.LoginService loginService
                = new loginService.LoginService();
            Boolean result = loginService.validateCustomerLogin("test5", "test5");

            Assert.AreEqual(true, result);
        }
Exemplo n.º 2
0
        public void testInvalidLogin()
        {
            loginService.LoginService loginService
                = new loginService.LoginService();
            Boolean result = loginService.validateCustomerLogin("invalid", "invalid");

            Assert.AreEqual(false, result);
        }