LanguageTreeModel extends AbstractTreeTableModel { List<LanguageModel> getUserLanguageModels() { return new ArrayList<>(this.languageModels.values()).subList(this.systemModelCount, this.languageModels.size()); } LanguageTreeModel(final ILanguageOptionHandler options); @Override int getColumnCount(); @Override UUID getChild(final Object parentNode, final int index); @Override int getChildCount(final Object parentNode); @Override int getIndexOfChild(final Object parentNode, final Object childNode); @Override boolean isCellEditable(final Object node, final int columnIndex); @Override Object getValueAt(final Object node, final int columnIndex);  }
@Test public void testGetUserLanguageModels() { Assert.assertEquals(LanguageTreeModelTest.languageHandler.getUserModels(), this.model.getUserLanguageModels()); }