wuxw
2022-10-18 de384ff99ae64d77fb42e4f6993c2f117c1dfadd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.java110;
 
import static org.junit.Assert.assertTrue;
 
import com.alibaba.fastjson.JSONObject;
import com.java110.utils.util.DateUtil;
import org.junit.Test;
 
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
 
/**
 * Unit test for simple App.
 */
public class AppTest 
{
    /**
     * Rigorous Test :-)
     */
    @Test
    public void shouldAnswerWithTrue()
    {
 
       List<String> abc = new ArrayList<>();
        abc.add("123123");
        abc.add("123123");
        abc.add("123123");
        abc.add("123123");
        JSONObject data = new JSONObject();
        data.put("pccIds",abc);
        System.out.println(data.toJSONString());
    }
}