@Test
  public void isExistAnyRecordExistTest() {
    Dao<Integer, Note> dao = dbLite.getDao(Note.class);
    Assert.assertFalse("Note record was found", dao.isExist());

    ContentValues values = new ContentValues();
    values.put("id", 1);
    values.put("body", "text");

    long id = db.insert("Note", null, values);
    Assert.assertTrue("Note instance not created", id > 0);
    Assert.assertTrue("No Note record was found", dao.isExist());
  }
  @Test
  public void isExistMethodTest() {
    ContentValues values = new ContentValues();
    values.put("id", 1);
    values.put("body", "text");

    long id = db.insert("Note", null, values);
    Assert.assertTrue("Note instance not created", id > 0);

    Note note = new Note();
    note.id = 1;
    Dao<Integer, Note> dao = dbLite.getDao(Note.class);
    Assert.assertTrue("Note instance not found", dao.isExist(note));
  }