@Test public void testGetModelIndex() throws FileNotFoundException { Model model = this.selectorDoc.readModel(); ModelIndex modelIndex = this.selectorDoc.getModelIndex(model); assertNotNull("Expected non-null modelIndex", modelIndex); }
protected ModelIndex getModelIndex(Model model) { if (model != null) { return new DefaultModelIndex(model); } else { return null; } }
SelectorDoc { protected ModelIndex getModelIndex(Model model) { if (model != null) { return new DefaultModelIndex(model); } else { return null; } } }
SelectorDoc { protected ModelIndex getModelIndex(Model model) { if (model != null) { return new DefaultModelIndex(model); } else { return null; } } SelectorDoc(String inputXmiFilename, String outputXmlFilename); }
SelectorDoc { protected ModelIndex getModelIndex(Model model) { if (model != null) { return new DefaultModelIndex(model); } else { return null; } } SelectorDoc(String inputXmiFilename, String outputXmlFilename); static void main(String[] args); }
SelectorDoc { protected ModelIndex getModelIndex(Model model) { if (model != null) { return new DefaultModelIndex(model); } else { return null; } } SelectorDoc(String inputXmiFilename, String outputXmlFilename); static void main(String[] args); static final String ATTRIBUTE; static final String ASSOCIATION; }