*/
private void onInsert(CouchDBClient client)
{
final String nodeId = "node1";
final String originalName = "vivek";
PersonCouchDB object = new PersonCouchDB();
object.setAge(32);
object.setPersonId(ROW_KEY);
object.setPersonName(originalName);
object.setDay(Day.TUESDAY);
object.setMonth(Month.JAN);
Node node = new Node(nodeId, PersonCouchDB.class, new TransientState(), null, ROW_KEY, null);
node.setData(object);
client.persist(node);
PersonCouchDB result = (PersonCouchDB) client.find(PersonCouchDB.class, ROW_KEY);
Assert.assertNotNull(result);
Assert.assertEquals(result.getPersonId(), object.getPersonId());
Assert.assertEquals(result.getAge(), object.getAge());
Assert.assertEquals(result.getPersonName(), object.getPersonName());
Assert.assertEquals(result.getDay(), object.getDay());
Assert.assertEquals(result.getMonth(), object.getMonth());
}