use of org.glassfish.admin.rest.model.ModelExt2 in project Payara by payara.
the class ModelExtensionTest method testModelExtension.
@Test
public void testModelExtension() {
BaseModel model = CompositeUtil.instance().getModel(BaseModel.class);
Assert.assertTrue(ModelExt1.class.isAssignableFrom(model.getClass()));
Assert.assertTrue(ModelExt2.class.isAssignableFrom(model.getClass()));
}