SmsContent implements Serializable { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } SmsContent();  SmsContent(final String content, final String mobile);  SmsContent(String content, String mobile, Date date);  SmsContent(String content, String mobile, Integer priority);  SmsContent(String content, String mobile, String type);  SmsContent(String content, String mobile, int priority,String type, Date date); String getFormateDate(); String replaceKeyWord(String content); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object o); Long getId(); void setId(Long id); Long getSerialId(); void setSerialId(Long serialId); String getContentRlppa(); String getContent(); void setContent(String content); String getMobile(); void setMobile(String mobile); Integer getPriority(); void setPriority(Integer priority); String getType(); void setType(String type); Date getSendDate(); void setSendDate(Date date); int getFailure(); void setFailure(int failure); byte[] getData(); void setData(byte[] data); String getUserId(); void setUserId(String userId); String getMemo(); void setMemo(String memo); String getChannel(); void setChannel(String channel); String getOpeUserName(); void setOpeUserName(String opeUserName); String getTableName(); void setTableName(String tableName); Integer getStatus(); void setStatus(Integer status); Long getResendSmsId(); void setResendSmsId(Long resendSmsId); static final Integer HIGH_PRIORITY; static final Integer NORMAL_PRIORITY; static final Integer LOW_PRIORITY; static final String SEPARATOR; }
@Test(expected=Exception.class) public void smsContentStringStringIntStringDate4() throws Exception { Date date = new Date(); StringBuilder mobile = new StringBuilder("13917677725"); for (int i = 0 ; i < 101 ; i++) { mobile.append(",").append("13917677725"); } new SmsContent("test", mobile.toString(), 1, null, date); fail("ERROR"); }