### Question:
AliasGroup implements Cloneable, Serializable, Comparable<AliasGroup> { public void setName(String value) throws ValidationException { String data = getString(value); if (data.length() == 0) { throw new ValidationException(s_stringMgr.getString("AliasGroup.error.blankname")); } if (!_name.equals(data)) { final String oldValue = _name; _name = data; getPropertyChangeReporter().firePropertyChange(IPropertyNames.NAME, oldValue, _name); } } AliasGroup(); synchronized boolean isValid(); boolean equals(Object rhs); Object clone(); synchronized int hashCode(); int compareTo(AliasGroup rhs); IIdentifier getIdentifier(); void setIdentifier(IIdentifier id); String getName(); void setName(String value); void addPropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener);  }### Answer:
@Test (expected = ValidationException.class) public void testSetName_invalid_name() throws ValidationException { classUnderTest.setName(""); }
@Test (expected = ValidationException.class) public void testSetName_null_name() throws ValidationException { classUnderTest.setName(null); }