@Test
public void closesSocket() {

  doAnswer(
          AdditionalAnswers.answerVoid(
              (RunnableFunction onRequestFulfilled) -> onRequestFulfilled.run()))
      .when(requestFulfiller)
      .fulfillRequest(any());
  testSubject.handleRequest();
  verify(socketHolder, times(1)).close(logTag);
}