PlanNode planNode = iterator.next();
assertThat(planNode, instanceOf(ESUpdateNode.class));
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));