public String toString(Object modelElement, NotationSettings settings) { return modelElement.toString() + settings.isUseGuillemets(); }
/** * Test the existence of the toString(Object modelElement, NotationSettings settings) method. * TODO: Need to find a more useful test. */ public void testToString() { NotationProvider np = new NPImpl(); NotationSettings settings = new NotationSettings(); settings.setUseGuillemets(true); assertTrue("Test toString()", "atrue".equals(np.toString("a", settings))); }