### Question:
Exc extends BaseDictionaryElement { public List<String> getExceptions() { return exceptions; } Exc(Dictionary dictionary, POS pos, String lemma, List<String> exceptions); DictionaryElementType getType(); POS getPOS(); Object getKey(); String getLemma(); List<String> getExceptions(); @Override boolean equals(Object o); @Override int hashCode(); String toString();  }### Answer:
@Test public void testGetExceptions() { Assert.assertEquals(2, testObj.getExceptions().size()); Assert.assertEquals(DictionaryElementType.EXCEPTION, testObj.getType()); Assert.assertEquals(exc1, testObj.getExceptions().get(0)); Assert.assertEquals(exc2, testObj.getExceptions().get(1)); }