Beispiel #1
0
        public void UserCreateTest()
        {
            var service = new UserService();

            const string userName = "******";
            const string password = "******";

            service.Create(userName, password);
            var user = service.FindByNameAndPassword(userName, password);
            Assert.IsNotNull(user);
            Assert.AreEqual(userName, user.Name);
        }