public static boolean haveSameId(Note note, Note currentNote) {
    return currentNote != null
        && currentNote.get_id() != null
        && currentNote.get_id().equals(note.get_id());

  }
@Test
  public void haveSameIdShouldFail() {
    var note1 = getNote(1L, "test title", "test content");
    var note2 = getNote(2L, "test title", "test content");

    assertFalse(NotesHelper.haveSameId(note1, note2));
  }