ObjectNode extends AbstractJsonNode implements IObjectNode, KryoCopyable<ObjectNode> { @Override public IObjectNode putAll(final IObjectNode jsonNode) { for (final Entry<String, IJsonNode> entry : jsonNode) this.put(entry.getKey(), entry.getValue()); return this; }  @Override void appendAsString(final Appendable appendable); @Override void clear(); @Override ObjectNode clone(); @Override int compareToSameType(final IJsonNode other); @Override ObjectNode copy(final Kryo kryo); @Override void copyValueFrom(final IJsonNode otherNode); @Override boolean equals(final Object obj); @SuppressWarnings("unchecked") @Override IJsonNode get(final String fieldName); @Override SortedSet<String> getFieldNames(); @Override final Class<IObjectNode> getType(); @Override int hashCode(); @Override Iterator<Entry<String, IJsonNode>> iterator(); @Override ObjectNode put(final String fieldName, final IJsonNode value); @Override IObjectNode putAll(final IObjectNode jsonNode); @Override void remove(final String fieldName); @Override int size();  }
@Test public void shouldPutAll() { Assert.assertEquals(this.node, this.node.putAll(this.node)); }