@Test
public void testDeleteByPrimaryKey() throws Exception {

	SmsContent smsContent = new SmsContent("Test Sms", "13917677725");
	smsContentDAO.save(smsContent);
	smsContentDAO.deleteByPrimaryKey(smsContent.getId());
	Statement stat = conn.createStatement();
	ResultSet rs = stat.executeQuery("select * from sms_content where content = 'Test Sms' and mobile = '13917677725'");
	if (rs.next()) {
		fail("未能有效删除记录!");
	}
}