public void SetRevAndPhaseStatus_ReturnsCorrectValueForRegularCase()
        {
            string revAndPhaseStatusComment = "123;attachments;git commit links";

            ISet <string> expectedPhaseStatus = new HashSet <string>();

            expectedPhaseStatus.Add("attachments");
            expectedPhaseStatus.Add("git commit links");

            RevAndPhaseStatus expected = new RevAndPhaseStatus();

            expected.Rev         = 123;
            expected.PhaseStatus = expectedPhaseStatus;

            RevAndPhaseStatus actual = new RevAndPhaseStatus();

            actual.SetRevAndPhaseStatus(revAndPhaseStatusComment);

            Assert.AreEqual(expected.Rev, actual.Rev);

            foreach (string item in expected.PhaseStatus)
            {
                Assert.IsTrue(actual.PhaseStatus.Contains(item));
            }
        }
        public void SetRevAndPhaseStatus_ReturnsCorrectValueWhenOnlyRev()
        {
            string revAndPhaseStatusComment = "123";

            RevAndPhaseStatus expected = new RevAndPhaseStatus();

            expected.Rev         = 123;
            expected.PhaseStatus = new HashSet <string>();

            RevAndPhaseStatus actual = new RevAndPhaseStatus();

            actual.SetRevAndPhaseStatus(revAndPhaseStatusComment);

            Assert.AreEqual(expected.Rev, actual.Rev);
            Assert.AreEqual(0, actual.PhaseStatus.Count);
        }