Exemplo n.º 1
0
        public void CreateFuncTest()
        {
            FunctionDefinitions funcDef = new FunctionDefinitions();

            funcDef.Id           = "1";
            funcDef.Name         = "ForTesting";
            funcDef.FunctionData = "";

            var actualResult   = funcH.CreateFunction(funcDef);
            var expectedResult = "FUNCTION '" + funcDef.Name + "' WAS CREATED";

            Assert.Equal(expectedResult, actualResult);
        }