Exemplo n.º 1
0
        public void BuildOnChildHook()
        {
            var commandHandlerBuilder = new SynchronousHookBuilder(ApplicationNameSpace);

            foreach (var domainClass in DomainTree.Classes)
            {
                foreach (var hook in domainClass.ChildHookMethods)
                {
                    var codeNamespace = commandHandlerBuilder.BuildOnChildHook(hook, domainClass.Properties, domainClass.ListProperties);
                    TestUtils.SnapshotTest(codeNamespace, false);
                }
            }
        }