### Question:
NoteTitleValidator { public static boolean isNoteTitleValid(String noteTitle) { return noteTitle.length() >= 4; }  static boolean isNoteTitleValid(String noteTitle);  }### Answer:
@Test public void noteTitleValidator_checkNoteTitle() { NoteTitleValidator ntv = new NoteTitleValidator(); assertFalse(ntv.isNoteTitleValid("inv")); assertTrue(ntv.isNoteTitleValid("valid")); }