use of org.eclipse.epp.internal.mpc.core.model.Related in project epp.mpc by eclipse.
the class UnmarshallerTest method related.
public void related() throws Exception {
Object model = processResource("resources/related.xml");
assertNotNull(model);
assertTrue(model instanceof Marketplace);
Marketplace marketplace = (Marketplace) model;
Related related = marketplace.getRelated();
assertNotNull(related);
assertEquals(Integer.valueOf(6), related.getCount());
assertEquals(6, related.getNode().size());
}
Aggregations