### Question:
InstanceIdentifierCodec extends AbstractModuleStringInstanceIdentifierCodec implements EffectiveModelContextListener { @Override protected DataSchemaContextTree getDataContextTree() { return dataSchemaContextTree; } InstanceIdentifierCodec(DOMSchemaService schemaService,
            BindingNormalizedNodeSerializer bindingNormalizedNodeSerializer); @Override void onModelContextUpdated(EffectiveModelContext schemaContext); String serialize(InstanceIdentifier<?> iid); YangInstanceIdentifier getYangInstanceIdentifier(InstanceIdentifier<?> iid); InstanceIdentifier<?> bindingDeserializer(String iidString); InstanceIdentifier<?> bindingDeserializer(YangInstanceIdentifier yangIID); InstanceIdentifier<?> bindingDeserializerOrNull(String iidString);  }### Answer:
@Test public void testGetDataContextTree() { assertEquals("Error, did not return correct DataSchemaContextTree object", dataSchemaContextTree, instanceIdCodec.getDataContextTree()); }