}
private void initJukeboxSchemaNodes(final EffectiveModelContext schemaContext) {
- identifierJukebox = new InstanceIdentifierContext(null, containerJukebox, null, schemaContext);
+ identifierJukebox = InstanceIdentifierContext.ofDataSchemaNode(schemaContext, containerJukebox);
when(containerJukebox.getQName()).thenReturn(JUKEBOX_Q_NAME);
when(containerLibrary.getQName()).thenReturn(LIBRARY_Q_NAME);
}
private void initTestServicesSchemaNodes(final EffectiveModelContext schemaContext) {
- identifierTestServices = new InstanceIdentifierContext(null, containerTestData, null, schemaContext);
+ identifierTestServices = InstanceIdentifierContext.ofDataSchemaNode(schemaContext, containerTestData);
when(containerTestData.getQName()).thenReturn(TEST_DATA_Q_NAME);
when(listServices.getQName()).thenReturn(SERVICES_Q_NAME);