예제 #1
0
 @Test
 public void testCreateQuotedConstantNumber() throws Exception {
   assertEquals("-123", StringUtils.createQuotedConstant("-123"));
 }
예제 #2
0
 @Test
 public void testCreateQuotedConstant() throws Exception {
   assertEquals("\" abc \"", StringUtils.createQuotedConstant(" abc "));
 }
예제 #3
0
 @Test
 public void testCreateQuotedConstantNull() throws Exception {
   assertNull(StringUtils.createQuotedConstant(null));
 }