ESUpdateNode updateNode = (ESUpdateNode)planNode;
assertThat(updateNode.indices(), is(new String[]{"users"}));
assertThat(updateNode.ids().size(), is(1));
assertThat(updateNode.ids().get(0), is("1"));
assertThat(updateNode.outputTypes().size(), is(1));
assertEquals(DataTypes.LONG, updateNode.outputTypes().get(0));
Map.Entry<String, Object> entry = updateNode.updateDoc().entrySet().iterator().next();
assertThat(entry.getKey(), is("name"));
assertThat((String)entry.getValue(), is("Vogon lyric fan"));