@Test
  public void streamBuffersAreClearedDuringCleanup() throws Exception {
    Part mockPart1 = mock(Part.class);
    when(mockPart1.getLength()).thenReturn(100);
    Part[] parts = new Part[2];
    parts[0] = mockPart1;
    parts[1] = mockPart1;
    message.setParts(parts);
    message.clearParts();
    verify(mockPart1, times(2)).clear();
  }
geode-1468: Message should clear the chunks in its Parts when performing cleanup.
geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/MessageJUnitTest.java