コード例 #1
0
        public void ShouldGetStartPhaseExecutorByDefault()
        {
            var command = GaugeCommandFactory.GetExecutor(default(string));

            Assert.AreEqual(command.GetType(), typeof(StartCommand));
        }
コード例 #2
0
        public void ShouldGetSetupPhaseExecutorForInit()
        {
            var command = GaugeCommandFactory.GetExecutor("--init");

            Assert.AreEqual(command.GetType(), typeof(SetupCommand));
        }