/** Test of dateSub method, of class DateUtils. */ @Test public void testDateSub() { System.out.println("dateSub"); int days = 1; String expResult = ""; String result = SqlUtils.dateSub(days); // assertEquals(expResult, result); }
@Test public void testGetMonthTable() { String tableName = "user"; String monthTableName = SqlUtils.getMonthlyTable(tableName); // Assert.assertEquals("a", "user_201501", monthTableName); }