### Question:
Xsd2UmlTweaker { public static Model tweak(final Model model, final Xsd2UmlHostedPlugin plugin) { final ModelIndex indexedModel = new DefaultModelIndex(model); final Xsd2UmlTweakerVisitor tweaker = new Xsd2UmlTweakerVisitor(indexedModel); model.accept(tweaker); return new Model(Identifier.random(), model.getName(), model.getTaggedValues(), tweaker.getOwnedElements()); }  static Model tweak(final Model model, final Xsd2UmlHostedPlugin plugin);  }### Answer:
@Test public void testTweak() throws Exception { Model newModel = Xsd2UmlTweaker.tweak(model, plugin); Assert.assertNotNull(newModel); }