@SuppressWarnings({ "rawtypes", "unused" }) @Test public void testGetExceptions() { List listMock = mock(List.class); SAXParseException eMock = mock(SAXParseException.class); ReflectionTestUtils.setField(sut, "exceptions", listMock); List actualList = sut.getExceptions(); assertEquals(listMock, actualList); }
public List<SAXParseException> getExceptions() { return exceptions; }
XmlValidationResult { public List<SAXParseException> getExceptions() { return exceptions; } }
XmlValidationResult { public List<SAXParseException> getExceptions() { return exceptions; } XmlValidationResult(); }
XmlValidationResult { public List<SAXParseException> getExceptions() { return exceptions; } XmlValidationResult(); boolean isValid(); void addError(SAXParseException exception); List<SAXParseException> getExceptions(); }
XmlValidationResult { public List<SAXParseException> getExceptions() { return exceptions; } XmlValidationResult(); boolean isValid(); void addError(SAXParseException exception); List<SAXParseException> getExceptions();  }