public static ECReportGroup createECReportGroup() {

    // create report group
    ECReportGroup group = new ECReportGroup();

    // set name and members
    group.setGroupName(REPORT_GROUP_NAME);
    group.setGroupCount(createECReportGroupCount());
    group.setGroupList(createECReportGroupList());

    return group;
  }
  public static void assertEquals(ECReportGroup expected, ECReportGroup actual) {

    if (expected == null || actual == null) {
      if (expected == null && actual == null) {
        return;
      } else {
        throw new AssertionFailedError();
      }
    }
    assertEquals(expected.getAny(), actual.getAny());
    assertEquals(expected.getExtension(), actual.getExtension());
    assertEquals(expected.getGroupCount(), actual.getGroupCount());
    assertEquals(expected.getGroupList(), actual.getGroupList());
    assertEquals(expected.getGroupName(), actual.getGroupName());
  }