public void can_generate_code() { var input = new CodeInput(); input.Registry = new JasperRegistry(); input.Registry.Handlers.DisableConventionalDiscovery(); input.Registry.Handlers.IncludeType <MessageConsumer>(); var cmd = new CodeCommand(); cmd.Execute(input); }
public void can_generate_code() { var input = new CodeInput(); var registry = new JasperRegistry(); registry.Handlers.DisableConventionalDiscovery(); registry.Handlers.IncludeType <MessageConsumer>(); input.WebHostBuilder = JasperHost.CreateDefaultBuilder().UseJasper(registry); var cmd = new CodeCommand(); cmd.Execute(input); }