Exemple #1
0
        public void IsFirstStep_GivenValidEndStateArgs_ShouldReturnTrue()
        {
            //---------------Set up test pack-------------------
            var debugState = new DebugState()
            {
                StateType          = StateType.Start,
                OriginalInstanceID = Guid.Empty,
                ID = Guid.Empty,
            };

            //---------------Assert Precondition----------------
            Assert.IsNull(debugState.ParentID);
            //---------------Execute Test ----------------------
            var isFirstStep = debugState.IsFirstStep();

            //---------------Test Result -----------------------
            Assert.IsTrue(isFirstStep);
        }