void checkState()

in core/src/main/java/com/facebook/testing/screenshot/internal/RecordBuilderImpl.java [159:170]


  void checkState() {
    if (mError != null) {
      return;
    }
    for (int i = 0; i < mTiling.getWidth(); i++) {
      for (int j = 0; j < mTiling.getHeight(); j++) {
        if (mTiling.getAt(i, j) == null) {
          throw new IllegalStateException("expected all tiles to be filled");
        }
      }
    }
  }