EdictEntry extends DictEntry { public boolean isIchidan() { return isValid() && getMarkings().contains("v1"); } 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 testIsIchidan() { EdictEntry e = new EdictEntry("食い過ぎる", "くいすぎる", "(v1,vi) to eat too much; to overeat;", false); assertTrue(e.isVerb()); assertFalse(e.isGodan()); assertTrue(e.isIchidan()); assertFalse(e.isKuru()); assertFalse(e.isSuru()); }