public void WhenCallingRunProcess__ShouldReturnLuaRunProcessTask()
        {
            BuildComponentFactorySpy factorySpy = new BuildComponentFactorySpy();
            EawCiLuaEnvironment      sut        = new EawCiLuaEnvironment(factorySpy, _luaParser);
            ILuaTask actual = sut.RunProcess(string.Empty);

            Assert.IsInstanceOfType(actual, typeof(LuaRunProcessTask));
        }
        public void WhenCallingRunProcess__ShouldCallBuildComponentFactoryWithRunProgramTaskName()
        {
            BuildComponentFactorySpy factorySpy = new BuildComponentFactorySpy();
            EawCiLuaEnvironment      sut        = new EawCiLuaEnvironment(factorySpy, _luaParser);

            sut.RunProcess(string.Empty);

            Assert.AreSame("RunProgram", factorySpy.ActualTaskTypeName);
        }