@Override
  public RecordBuilderImpl setGroup(String groupName) {
    mGroup = groupName;
    return this;
  }
Sanity checks that the record is ready to be persisted
core/src/main/java/com/facebook/testing/screenshot/internal/RecordBuilderImpl.java