private FunctionDefinition CreateFunction(string sql)
        {
            var processor = ((SqlServerProcessor)new SqlServerProcessorFactory().Create(ConnectionString,
             new DebugAnnouncer(), new ProcessorOptions()));

             processor.Execute(sql);

             var dumper = new SqlServerSchemaDumper(processor, new DebugAnnouncer());
             var functions = dumper.ReadFunctions();

             processor.CommitTransaction();

             functions.Count.ShouldBe(1);

             return functions[0];
        }