### Question:
Verb extends Word { public String[] getVerbFrames() { if (null == dictionary) { return Dictionary.getFrames(getVerbFrameFlags(), frames); } return dictionary.getFrames(getVerbFrameFlags()); } Verb(Dictionary dictionary, Synset synset, String lemma, BitSet verbFrameFlags); BitSet getVerbFrameFlags(); int[] getVerbFrameIndices(); String[] getVerbFrames(); String toString();  }### Answer:
@Test public void testGetVerbFrames() throws JWNLException { Synset s = new Synset(null, POS.NOUN); BitSet verbFrameFlags = new BitSet(1); verbFrameFlags.set(1); Verb v = new Verb(null, s, "go", verbFrameFlags); String[] frames = v.getVerbFrames(); Assert.assertNotNull(frames); Assert.assertEquals(1, frames.length); Assert.assertEquals(Verb.frames[0], frames[0]); }