Beispiel #1
0
        public void CreateUser()
        {
            var app = new Application.Application();

            var userName = "******";
            var user     = app.CreateUser(userName);

            Assert.Equal(userName, user.Name);
        }
Beispiel #2
0
        public void CreateProject()
        {
            var app = new Application.Application();

            var userName    = "******";
            var projectName = "User1";
            var user        = app.CreateUser(userName);

            var project = app.CreateProject(user, projectName);

            Assert.Equal(project.UserId, user.Id);
            Assert.Equal(projectName, project.Name);
        }