EList<EObject> _contents = textOrMarkup.getContents();
int _size = _contents.size();
Assert.assertEquals(1, _size);
EList<EObject> _contents_1 = textOrMarkup.getContents();
EObject _head_1 = IterableExtensions.<EObject>head(_contents_1);
CodeBlock cb = ((CodeBlock) _head_1);
EList<EObject> _contents_2 = cb.getContents();
EObject _head_2 = IterableExtensions.<EObject>head(_contents_2);
final Code code = ((Code) _head_2);
StringConcatenation _builder = new StringConcatenation();
_builder.newLine();
_builder.append("class Foo {");
_builder.newLine();
_builder.append("public static void main(String\\[\\] args){");
_builder.newLine();
_builder.append("System.out.println(\"Hello World\\n\");");
_builder.newLine();
_builder.append("}");
_builder.newLine();
_builder.append("}");
_builder.newLine();
String _string = _builder.toString();
String _contents_3 = code.getContents();
Assert.assertEquals(_string, _contents_3);
Iterable<TextOrMarkup> _tail = IterableExtensions.<TextOrMarkup>tail(contents);
TextOrMarkup _head_3 = IterableExtensions.<TextOrMarkup>head(_tail);
textOrMarkup = _head_3;
EList<EObject> _contents_4 = textOrMarkup.getContents();
EObject _head_4 = IterableExtensions.<EObject>head(_contents_4);
cb = ((CodeBlock) _head_4);
EList<EObject> _contents_5 = cb.getContents();
int _size_1 = _contents_5.size();
Assert.assertEquals(0, _size_1);
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}