private void setFirstTSidx(ResourceInst resourceInst, int value)
      throws IllegalAccessException, NoSuchFieldException {
    Field field = ResourceInst.class.getDeclaredField("firstTSidx");
    field.setAccessible(true);
    field.setInt(resourceInst, value);
  }
Unit tests for {@link ResourceInst}.

<p>
Confirms ResourceInst equals change to fix GEODE-1782.

<p>
GEODE-1782: StatArchiveReader ignores later stats resource with same name as closed stats
resource

@since Geode 1.0
geode-core/src/test/java/org/apache/geode/internal/statistics/ResourceInstTest.java