Package org.ytreza.app.noterex.model

Examples of org.ytreza.app.noterex.model.Note.save()


  @Test
  public void testSaveNewNote() throws ItemException {
    Note note = new Note("subject","text");
    Assert.assertTrue(note.getId() == -1);
    note.save(factory);
    Assert.assertFalse(note.getId() == -1);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.