public void Test___Method_Stop___Status_Created()
        {
            var value = 0;

            var testee = new FuncSyncActivity()
            {
                Func = () =>
                {
                    value = 1;
                    return(true);
                }
            };

            testee.Stop();

            Assert.AreEqual(ActivityStatus.Stopped, testee.Status);
            Assert.AreEqual(0, value);
        }
        public async Task Test___Method_Start___Status_Created()
        {
            var value = 0;

            var testee = new FuncSyncActivity()
            {
                Func = () =>
                {
                    value = 1;
                    return(true);
                }
            };

            await testee.Start();

            Assert.AreEqual(ActivityStatus.Completed, testee.Status);
            Assert.AreEqual(1, value);
        }