assertTrue(doc.indexOf("<sg:imInTypeBprime>thisIsElBprime</sg:imInTypeBprime>") != -1);
}
public void testSubGroup_Bprime() {
Bprime bp = (Bprime) scope.getDataFactory().create(Bprime.class);
bp.setImInTypeB("bValue");
bp.setImInTypeBprime("bpvalue");
String doc = scope.getXMLHelper().save((DataObject) bp,
"http://example.com/subgroup", "bp");
assertTrue(doc.indexOf("<sg:imInTypeB>bValue</sg:imInTypeB>") != -1);
assertTrue(doc.indexOf("<sg:imInTypeBprime>bpvalue</sg:imInTypeBprime>") != -1);
}