DefaultSink implements Sink { @Override public boolean isActive() { return writer.isActive(); }  @Override boolean isActive(); @Override void write(final Precorrelation precorrelation, final HttpRequest request); @Override void write(final Correlation correlation, final HttpRequest request, final HttpResponse response);  }
@Test void isActiveIfWriterIsActive() { when(writer.isActive()).thenReturn(true); assertTrue(unit.isActive()); }
@Test void isInactiveIfWriterIsInactive() { when(writer.isActive()).thenReturn(false); assertFalse(unit.isActive()); }