Exemplo n.º 1
0
 @Test
 public void testNullKeyVal() {
   Map<String, String> map = StringMapUtils.string2Map(NULL_KEY_VAL);
   assertEquals(0, map.size());
 }
Exemplo n.º 2
0
 @Test
 public void testMulKeyVal() {
   Map<String, String> map = StringMapUtils.string2Map(MUL_KEY_VAL);
   assertEquals(4, map.size());
 }
Exemplo n.º 3
0
 @Test
 public void testEmptySignKeyVal() {
   Map<String, String> map = StringMapUtils.string2Map(EMPTY_SIGN_KEY_VAL);
   assertEquals(1, map.size());
 }
Exemplo n.º 4
0
 @Test
 public void testOneKeyVal() {
   Map<String, String> map = StringMapUtils.string2Map(ONE_KEY_VAL);
   assertEquals(1, map.size());
 }