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