EdictEntry extends DictEntry { public boolean isKuru() { return getMarkings().contains("vk"); } EdictEntry(final String kanji, final String reading, final String english, final boolean isCommon);  EdictEntry(final String kanji, final String reading, final String english); static EdictEntry fromEntry(final DictEntry entry); boolean isIchidan(); boolean isGodan(); boolean isVerb(); boolean isSuru(); boolean isKuru(); List<String> getMarkings(); List<String> getMarkings(final String str); List<List<String>> getSenses();  }
@Test public void testIsKuru() { EdictEntry e = new EdictEntry( "来る", "くる", "(vk,vi,aux-v) (1) to come (spatially or temporally); to approach; to arrive; (2) to come back; to do ... and come back; (3) to come to be; to become; to get; to grow; to continue; (vk,vi) (4) to come from; to be caused by; to derive from; (5) to come to (i.e. \"when it comes to spinach ...\"); (P);", false); assertTrue(e.isVerb()); assertFalse(e.isGodan()); assertFalse(e.isIchidan()); assertTrue(e.isKuru()); assertFalse(e.isSuru()); }