public static ECReports createECReports() {

    // create reports
    ECReports reports = new ECReports();

    // set parameters
    reports.setALEID(ALEID);
    reports.setDate(null);
    reports.setECSpec(null);
    reports.setReports(new ECReports.Reports());
    reports.getReports().getReport().addAll(createECReportList());
    reports.setSchemaURL("");
    reports.setSpecName(SPEC_NAME);
    reports.setTerminationCondition(null);
    reports.setTotalMilliseconds(1000);

    return reports;
  }
  public static void assertEquals(ECReports expected, ECReports actual) {

    if (expected == null || actual == null) {
      if (expected == null && actual == null) {
        return;
      } else {
        throw new AssertionFailedError();
      }
    }
    assertEquals(expected.getALEID(), actual.getALEID());
    assertEquals(expected.getSchemaURL(), actual.getSchemaURL());
    assertEquals(expected.getSpecName(), actual.getSpecName());
    assertEquals(expected.getAny(), actual.getAny());
    assertEquals(expected.getDate(), actual.getDate());
    assertEquals(expected.getECSpec(), actual.getECSpec());
    assertEquals(expected.getExtension(), actual.getExtension());
    assertEquals(expected.getReports().getReport(), actual.getReports().getReport());
    assertEquals(expected.getTerminationCondition(), actual.getTerminationCondition());
    assertEquals(expected.getTotalMilliseconds(), actual.getTotalMilliseconds());
  }