@Test
public void arrayValue() throws Exception {

  doReturn(TextNode.valueOf("bar")).when(obfuscator).apply(TextNode.valueOf("foo"));
  JsonNode result = underTest.transform(array, singletonList("/*/f2"));
  assertThat(result.get(0), is(mapper.createObjectNode().put("f2", "bar")));
}