### Question:
ContentElement implements ExtensionElement { public static Builder builder() { return new Builder(); } ContentElement(PayloadElement payload, List<AffixElement> affixElements); PayloadElement getPayload(); List<AffixElement> getAffixElements(); @Override String getNamespace(); @Override String getElementName(); @Override XmlStringBuilder toXML(XmlEnvironment xmlEnvironment); @Override QName getQName(); static Builder builder(); static final String NAMESPACE_0; static final String NAMESPACE; static final String ELEMENT; static final QName QNAME; }### Answer:
@Test public void stanzaIdForbiddenInContentElementPayload() { assertThrows(IllegalArgumentException.class, () -> ContentElement.builder().addPayloadItem(new StanzaIdElement("alice@wonderland.lit"))); }
@Test public void processingHintsForbiddenInContentElementPayload() { assertThrows(IllegalArgumentException.class, () -> ContentElement.builder().addPayloadItem(StoreHint.INSTANCE)); }