  @Test
  public void list() {

    List<String> list = new LinkedList<>();
    list.add("value1");
    list.add("value2");
    logger.list("someList", list).log();
    Mockito.verify(this.messageConsumer).accept(Mockito.contains("\"someList\":[\"value1\",\"value2\"]"));
  }