public void SettingActiveJobWhenNotRunningThrowsException()
        {
            var func = new Mock<IAsyncCommand>();
            ILog logger = GetLogger();

            func.Setup(f => f.Progress.Status).Returns(StatusEnum.Finished);

            var container = new AsyncCommandContainer(new AsyncCommandItemTimeSpan(), logger);

            container.Add(func.Object, "", func.Object.GetType());

            container.SetActive("", func.Object.GetType());
        }