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

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

            sut.Clean(string.Empty);

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