EdictEntry extends DictEntry { public boolean isSuru() { return getMarkings().contains("vs-i") || getMarkings().contains("vs-s"); } 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 testIsSuru() { EdictEntry e = new EdictEntry( "為る", "する", "(vs-i) (1) (uk) to do; (2) to cause to become; to make (into); to turn (into); (3) to serve as; to act as; to work as; (4) to wear (clothes, a facial expression, etc.); (5) to judge as being; to view as being; to think of as; to treat as; to use as; (6) to decide on; to choose; (vs-i,vi) (7) to be sensed (of a smell, noise, etc.); (8) to be (in a state, condition, etc.); (9) to be worth; to cost; (10) to pass (of time); to elapse; (suf,vs-i) (11) verbalizing suffix (applies to nouns noted in this dictionary with the part of speech \"vs\"); (aux-v,vs-i) (12) creates a humble verb (after a noun prefixed with \"o\" or \"go\"); (13) to be just about to; to be just starting to; to try to; to attempt to; (P);", false); assertTrue(e.isVerb()); assertFalse(e.isGodan()); assertFalse(e.isIchidan()); assertFalse(e.isKuru()); assertTrue(e.isSuru()); }