a
554325746@qq.com
2019-12-25 84e391f79e4c298e31b990667a54d991d645949f
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.basic.security.manager.sqlite.erlang.test;
 
import org.junit.Before;
import org.junit.Test;
 
import com.basic.security.manager.sqlite.erlang.ErBaseManger;
import com.basic.security.manager.sqlite.model.SlBusinessPerson;
 
public class ErBusinessPersonManagerTest extends ErBaseManger {
 
    @Before
    public void before() {
        createOtpConnection();
    }
 
    @Test
    public void saveBusinessPerson() {
        SlBusinessPerson businessPerson = new SlBusinessPerson();
        businessPerson.setId("2");
        saveInCluster(businessPerson);
    }
 
    @Test
    public void updateBusinessPerson() {
        SlBusinessPerson businessPerson = new SlBusinessPerson();
        businessPerson.setId("1");
        updateInCluster(businessPerson);
    }
 
    @Test
    public void deleteBusinessPerson() {
        deleteInCluster(SlBusinessPerson.class, "1");
    }
 
}