Example #1
0
        public void Test_Failed_State_Draft_And_Publish_And_Archive_And_Archive()
        {
            TestCandidate candidate = new TestCandidate();

            candidate.Publish();

            candidate.Archive();
            candidate.Archive();
        }
Example #2
0
        public void Test_StatusOn_Create_And_Publish_And_Archive_And_Activate_And_Archive()
        {
            TestCandidate candidate = new TestCandidate();

            candidate.Publish();
            candidate.Archive();
            candidate.Activate();
            candidate.Archive();

            AssertArchivedState(candidate);
        }
Example #3
0
        public void Test_StatusOn_Create_And_Publish_And_Archive_And_Delete_And_UnDelete()
        {
            TestCandidate candidate = new TestCandidate();

            candidate.Publish();
            candidate.Archive();
            candidate.SoftDelete();
            candidate.UnDelete();

            AssertArchivedState(candidate);
        }