Ejemplo n.º 1
0
        public void SaveTest()
        {
            BugManager target = new BugManager(); // TODO: Initialize to an appropriate value
            Bug        bug    = new Bug {
                Name      = "test", Id = 1, ImportedBugId = 2, Description = "", Category = null, State = Enums.State.Resolved, Project = null,
                CreatedBy = null, CreateDate = DateTime.Now, Priority = Enums.Priority.Critical, Reason = Enums.Reason.Deferred
            };                    // TODO: Initialize to an appropriate value
            bool expected = true; // TODO: Initialize to an appropriate value

            var actual = target.Save(bug, null);

            Assert.AreEqual(expected, actual);
        }