@Test public void testOk1() throws Exception { AjaxMessage ok = AjaxMessage.ok(StringPool.AND); assertEquals(ok.getMessage(), StringPool.AND); }
@Test public void testOk2() throws Exception { Pair<Integer, Integer> data = Pair.of(1, 2); AjaxMessage ok = AjaxMessage.ok(data); assertEquals(ok.getMessage(), StringPool.EMPTY); }
@Test public void testOk() throws Exception { AjaxMessage ok = AjaxMessage.OK; assertEquals(ok.getMessage(), StringPool.EMPTY); }