public void testSetPut() throws Exception { doc.title.set("title1"); doc.put(); assertEquals("title1", doc.title.get()); doc = TestDocument.NAME_FACTORY.initInstance("doc1"); assertEquals("title1", doc.title.get()); }
protected void setUp() throws Exception { super.setUp(); doc = TestDocument.NAME_FACTORY.initInstance("doc1"); doc.putIfAbsent(); test = EntityPropertyTest.FACTORY.initInstance("test1"); test.putIfAbsent(); }