public override string Generate(IElement element, PreDefinedData preDefinedData) { var inputType = GetInputType(element.GetTypeName()); var inputData = preDefinedData?.GetOwnerElement() != null ? preDefinedData.GetData() : _dataGenerator.Generate(inputType); return(GetMethodName(element.GetValidIdentifier()) + "(\"" + inputData + "\");"); }