assertNull(element.getNextOMSibling());
assertFalse(element.isExpanded());
}
public void testSerializeModifiedOMSEWithNonDestructiveDataSource() throws Exception {
OMDataSourceExt ds = new CharArrayDataSource("<element><child/></element>".toCharArray());
assertFalse(ds.isDestructiveWrite());
OMFactory f = new OMLinkedListImplFactory();
OMElement element = new OMSourcedElementImpl("element", null, f, ds);
element.getFirstElement().setText("TEST");