_builder.append("}");
_builder.newLine();
MongoFile _parse = this._parseHelper.parse(_builder);
TreeIterator<EObject> _eAllContents = _parse.eAllContents();
final Iterator<MongoProperty> properties = Iterators.<MongoProperty>filter(_eAllContents, MongoProperty.class);
MongoProperty _head = IteratorExtensions.<MongoProperty>head(properties);
this._validationTestHelper.assertError(_head, MongoBeansPackage.Literals.MONGO_PROPERTY, MongoBeansValidator.ILLEGAL_TYPE);
MongoProperty _last = IteratorExtensions.<MongoProperty>last(properties);
this._validationTestHelper.assertError(_last, MongoBeansPackage.Literals.MONGO_PROPERTY, MongoBeansValidator.ILLEGAL_TYPE);
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}