@Test
  public void getBytesWritten() {
    when(delegate.getBytesWritten()).thenReturn(42L);

    assertThat(commitSesssionOutputBuffer.getBytesWritten()).isEqualTo(42L);

    final InOrder inOrder = inOrder(sessionCommitter, delegate);
    inOrder.verify(delegate).getBytesWritten();
    inOrder.verifyNoMoreInteractions();
  }
@deprecated Remove when {@link OutputBuffer} drops this method.
extensions/geode-modules-tomcat8/src/test/java/org/apache/geode/modules/session/catalina/Tomcat8CommitSessionOutputBufferTest.java