public void all_commands_usage_graph_works() { var factory = new CommandFactory(); factory.RegisterCommands(typeof(IFubuCommand).Assembly); factory.AllCommandTypes().Each(t => { try { var usageGraph = new UsageGraph(t); usageGraph.WriteUsages("fubu"); usageGraph.Usages.Any().ShouldBeTrue(); } catch (Exception e) { throw new ApplicationException("Command type: " + t.FullName, e); } }); }
public void smoke_test_writing_usage() { theUsageGraph.WriteUsages("fubu"); }