### Question:
VerbSynset extends Synset { public void setVerbFrameFlags(BitSet verbFrameFlags) { if (null == verbFrameFlags) { if (null != dictionary) { throw new IllegalArgumentException(dictionary.getMessages().resolveMessage("DICTIONARY_EXCEPTION_050")); } else { throw new IllegalArgumentException("Verb frame flags must be not null"); } } this.verbFrameFlags = verbFrameFlags; } VerbSynset(Dictionary dictionary);  VerbSynset(Dictionary dictionary, long offset); String[] getVerbFrames(); BitSet getVerbFrameFlags(); void setVerbFrameFlags(BitSet verbFrameFlags); int[] getVerbFrameIndices();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testSetVerbFrames() throws JWNLException { VerbSynset verbSynset = new VerbSynset(dictionary, 0); verbSynset.setVerbFrameFlags(null); }
@Test(expected = IllegalArgumentException.class) public void testSetVerbFrames2() throws JWNLException { VerbSynset verbSynset = new VerbSynset(null); verbSynset.setVerbFrameFlags(null); }