コード例 #1
0
 public SELF a_report_model_with_name(String name) {
   a_report_model();
   reportModel.setClassName(name);
   for (ScenarioModel model : reportModel.getScenarios()) {
     model.setClassName(name);
   }
   return self();
 }
コード例 #2
0
  public SELF a_report_model() {
    reportModel = new ReportModel();
    reportModel.setClassName("Test Class");

    createScenarioModel("something should happen", "something_should_happen");

    return self();
  }