assertTrue(group.getShapeAt(0) instanceof IText);
assertEquals("\\sffamily coucou", ((IText)group.getShapeAt(0)).getText()); //$NON-NLS-1$
}
@Test public void test_sffamily2() throws ParseException {
IGroup group = parser.parsePSTCode("\\sffamily {coucou} {haha}").get(); //$NON-NLS-1$
assertEquals(2, group.size());
assertTrue(group.getShapeAt(0) instanceof IText);
assertEquals("\\sffamily coucou", ((IText)group.getShapeAt(0)).getText()); //$NON-NLS-1$
assertTrue(group.getShapeAt(1) instanceof IText);
assertEquals("\\sffamily haha", ((IText)group.getShapeAt(1)).getText()); //$NON-NLS-1$
}