ObjectNode extends AbstractJsonNode implements IObjectNode, KryoCopyable<ObjectNode> { @SuppressWarnings("unchecked") @Override public IJsonNode get(final String fieldName) { final IJsonNode node = this.children.get(fieldName); if (node != null) return node; return MissingNode.getInstance(); }  @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 shouldReturnMissingNodeIfFieldNotSet() { Assert.assertSame(MissingNode.getInstance(), this.node.get("thisFieldShouldNotBeAssigned")); }