### Question:
SQLHistoryItem implements Serializable, Cloneable { public void setSQL(String sql) { if (sql == null) { throw new IllegalArgumentException("sql == null"); } _sql = sql.trim(); _shortSql = StringUtilities.cleanString(sql); } SQLHistoryItem();  SQLHistoryItem(String sql, String aliasName); @Override boolean equals(Object rhs); @Override int hashCode(); @Override Object clone(); @Override String toString(); String getSQL(); void setSQL(String sql); Date getLastUsageTime(); void setLastUsageTime(Date _creationTime); String getAliasName(); void setAliasName(String _aliasName);  }### Answer:
@Test (expected = IllegalArgumentException.class) public void testSqlNull() { classUnderTest.setSQL(null); }