@Test
public void testUpdateFailureCount() throws Exception {

	SmsContent smsContent = new SmsContent("Test Sms", "13917677725");
	smsContentDAO.save(smsContent);
	smsContentDAO.updateFailureCount(smsContent.getId());
	
	ResultSet rs = conn.createStatement().executeQuery("SELECT failure FROM sms_content where content = 'Test Sms' and mobile = '13917677725'");
	if (rs.next()) {
		Assert.assertEquals(1, rs.getInt("failure"));
	}
}