@Test
void shouldNotLogRequestIfInactive() throws IOException {

    when(writer.isActive()).thenReturn(false);
    sendAndReceive();
    verify(writer, never()).write(any(Precorrelation.class), any());
}