Пример #1
0
        public void toggle_the_lifecycle_from_regression()
        {
            Test test = new Test("some test").LifecycleIs(Lifecycle.Regression);
            test.Toggle();

            test.Lifecycle.ShouldEqual(Lifecycle.Acceptance);
        }
Пример #2
0
        public void toggle_the_lifecycle_from_initial_state()
        {
            var test = new Test("some test");
            test.Toggle();

            test.Lifecycle.ShouldEqual(Lifecycle.Regression);
        }