ConfigurationObject implements IObject { @Override public void deleteField(final IFieldName name) throws DeleteValueException, InvalidArgumentException { throw new DeleteValueException("Method not implemented."); } ConfigurationObject(final String body);  ConfigurationObject(final Map<IFieldName, Object> objectEntries);  ConfigurationObject(); @Override Object getValue(final IFieldName name); @Override void setValue(final IFieldName name, final Object value); @Override void deleteField(final IFieldName name); @Override T serialize(); @Override Iterator<Map.Entry<IFieldName, Object>> iterator(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test (expected = DeleteValueException.class) public void checkExceptionOnUseDeleteFieldMethod() throws Exception { ConfigurationObject co = new ConfigurationObject(this.configString); co.deleteField(null); fail(); }