public class PObject4Test extends BaseMetaTest {
@Test
public void testGetPObjects() throws Exception {
IPObjectService poService = getPObjectService();
IPObjectMetaInfo po = poService.getPObject("com.jresearchsoft.flexess.examples.orders", "_ZAre0MjIEduYy46rNYWNIw"); //$NON-NLS-1$ //$NON-NLS-2$
IPObjectMetaInfo po2 = poService.findPObject("com.jresearchsoft.flexess.examples.orders", "com.jresearchsoft.uam.testapp.beans.order.Order"); //$NON-NLS-1$ //$NON-NLS-2$
assertNotNull(po);
assertNotNull(po2);
assertEquals(po.getModelId(), "com.jresearchsoft.flexess.examples.orders"); //$NON-NLS-1$
assertEquals(po.getClassName(), "com.jresearchsoft.uam.testapp.beans.order.Order"); //$NON-NLS-1$
assertEquals(po.getMapperName(), "com.jresearchsoft.uam.client.mappers.impl.JavaInstanceMapperId"); //$NON-NLS-1$