Exemplo n.º 1
0
        public void GetAllTest()
        {
            BugManager target = new BugManager(); // TODO: Initialize to an appropriate value
            IEnumerable<Bug> expected = null; // TODO: Initialize to an appropriate value

            var actual = target.GetAll().FirstOrDefault();
            Assert.IsNotNull(actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Exemplo n.º 2
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);
        }