### Question:
BitmapStatistics { @Override public String toString() { return "BitmapStatistics{" + "bitmapsCount=" + bitmapsCount + ", arrayContainersStats=" + arrayContainersStats + ", bitmapContainerCount=" + bitmapContainerCount + ", runContainerCount=" + runContainerCount + '}'; } BitmapStatistics(
      ArrayContainersStats arrayContainersStats,
      long bitmapContainerCount,
      long runContainerCount);   BitmapStatistics(
      ArrayContainersStats arrayContainersStats,
      long bitmapContainerCount,
      long runContainerCount,
      long bitmapsCount); double containerFraction(long containerTypeCount); ArrayContainersStats getArrayContainersStats(); @Override String toString(); long containerCount(); @Override boolean equals(Object o); @Override int hashCode(); long getBitmapsCount(); long getBitmapContainerCount(); long getRunContainerCount(); final static BitmapStatistics empty; }### Answer:
@Test public void toStringWorks() { BitmapStatistics statistics = new BitmapStatistics( new BitmapStatistics.ArrayContainersStats(10, 50), 2, 1); String string = statistics.toString(); assertTrue(string.contains(BitmapStatistics.class.getSimpleName())); }