### Question:
ConstraintViewXmlBean { public ConstraintDataXmlBean getConstraintDataXmlBean() { return constraintDataXmlBean; }  ConstraintGraphXmlBean getConstraintGraphXmlBean(); void setConstraintGraphXmlBean(ConstraintGraphXmlBean constraintGraphXmlBean); ConstraintDataXmlBean getConstraintDataXmlBean(); void setConstraintDataXmlBean(ConstraintDataXmlBean constraintDataXmlBean);  }### Answer:
@Test public void testGetConstraintDataXmlBean() throws Exception { classUnderTest.setConstraintDataXmlBean(null); assertNull("aTestString", classUnderTest.getConstraintDataXmlBean()); }