EdictEntry extends DictEntry { public boolean isGodan() { return isValid() && english.contains("v5"); } 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 testIsGodan() { EdictEntry e = new EdictEntry( "翫ぶ", "もてあそぶ", "(v5b,vt) (1) (uk) to play with (a toy, one's hair, etc.); to fiddle with; (2) to toy with (one's emotions, etc.); to trifle with; (3) to do with something as one pleases; (4) to appreciate;", false); assertTrue(e.isVerb()); assertTrue(e.isGodan()); assertFalse(e.isIchidan()); assertFalse(e.isKuru()); assertFalse(e.isSuru()); }