use of com.enonic.xp.schema.xdata.XDataNames in project xp by enonic.
the class XmlContentTypeParserTest method testMixinRefFormats.
@Test
public void testMixinRefFormats() throws Exception {
parse(this.parser, "-mixins.xml");
final ContentType result = this.builder.build();
final XDataNames xDataNames = result.getXData();
assertEquals(2, xDataNames.getSize());
assertTrue(xDataNames.contains(XDataName.from("myapplication:metadata1")));
assertTrue(xDataNames.contains(XDataName.from("myapplication:metadata2")));
}
Aggregations