@Test
public void textNode() throws Exception {

  doReturn("replaced").when(replacer).replace(EXAMPLE_STRING);
  JsonNode jsonNode = underTest.apply(TextNode.valueOf(EXAMPLE_STRING));
  assertThat(jsonNode.asText(), is("replaced"));
}