Search in sources :

Example 1 with Related

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());
}
Also used : Marketplace(org.eclipse.epp.internal.mpc.core.model.Marketplace) Related(org.eclipse.epp.internal.mpc.core.model.Related)

Aggregations

Marketplace (org.eclipse.epp.internal.mpc.core.model.Marketplace)1 Related (org.eclipse.epp.internal.mpc.core.model.Related)1