public void appendClosedIssuesUuidsToResponse(List<String> closedIssuesUuids,
    OutputStream outputStream) throws IOException {
    for (String uuid : closedIssuesUuids) {
      AbstractMessageLite messageLite = protobufObjectGenerator.generateClosedIssueMessage(uuid);
      messageLite.writeDelimitedTo(outputStream);
    }
  }
@Test
  public void appendClosedIssuesToResponse_outputStreamIsCalledAtLeastOnce() throws IOException {
    OutputStream outputStream = mock(OutputStream.class);

    underTest.appendClosedIssuesUuidsToResponse(List.of("uuid", "uuid2"), outputStream);

    verify(outputStream, atLeastOnce()).write(any(byte[].class), anyInt(), anyInt());
  }