public void DeleteProject_TestSuccess()
        {
            // ARRANGE
            CreateProject();
            var toBeDeleted  = this.uow.Projects.GetAll().First();
            var projectLogic = new ProjectLogic();

            // ACT
            projectLogic.SetStatus(toBeDeleted.Id, EnumDefinition.ProjectStatus.Archived);
            projectLogic.DeleteProject(toBeDeleted.Id);
            projectLogic.Dispose();
            this.uow.Dispose();
            this.uow = new UnitOfWork();

            // ASSERT
            var deleted = this.uow.Projects.Get(toBeDeleted.Id);

            Assert.IsNull(deleted);
        }
        public void SetStatus_Test()
        {
            // ARRANGE
            CreateProject();
            var projectToUpdate = this.uow.Projects.GetAll().First();
            var projectLogic    = new ProjectLogic();

            // ACT
            projectLogic.SetStatus(projectToUpdate.Id, EnumDefinition.ProjectStatus.Archived);
            projectLogic.Dispose();
            this.uow.Dispose();
            this.uow = new UnitOfWork();

            // ASSERT
            var updatedProject = this.uow.Projects.Get(projectToUpdate.Id);

            Assert.IsNotNull(updatedProject);
            Assert.AreEqual(EnumDefinition.ProjectStatus.Archived, updatedProject.ProjectStatus);
        }