String _string = text.toString();
final XdocFile model = this._parseHelperExtensions.parse(_string);
this._validationTestHelper.assertNoErrors(model);
AbstractSection _mainSection = model.getMainSection();
final Chapter chapter = ((Chapter) _mainSection);
TextOrMarkup _title = chapter.getTitle();
EList<EObject> _contents = _title.getContents();
EObject _head = IterableExtensions.<EObject>head(_contents);
String _text = ((TextPart) _head).getText();
Assert.assertEquals(title, _text);
EList<TextOrMarkup> _contents_1 = chapter.getContents();
int _size = _contents_1.size();
Assert.assertEquals(1, _size);
EList<TextOrMarkup> _contents_2 = chapter.getContents();
final TextOrMarkup p = IterableExtensions.<TextOrMarkup>head(_contents_2);
EList<EObject> _contents_3 = p.getContents();
EObject _head_1 = IterableExtensions.<EObject>head(_contents_3);
String _text_1 = ((TextPart) _head_1).getText();
Assert.assertEquals(firstPart, _text_1);
EList<EObject> _contents_4 = p.getContents();
Iterable<EObject> _tail = IterableExtensions.<EObject>tail(_contents_4);
EObject _head_2 = IterableExtensions.<EObject>head(_tail);
EList<TextOrMarkup> _contents_5 = ((Emphasize) _head_2).getContents();
TextOrMarkup _head_3 = IterableExtensions.<TextOrMarkup>head(_contents_5);
EList<EObject> _contents_6 = _head_3.getContents();
EObject _head_4 = IterableExtensions.<EObject>head(_contents_6);
String _text_2 = ((TextPart) _head_4).getText();
Assert.assertEquals(emphasized, _text_2);
EList<EObject> _contents_7 = p.getContents();
Iterable<EObject> _tail_1 = IterableExtensions.<EObject>tail(_contents_7);