使用testng进行单元测试
pom.xml
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
test里面
import org.testng.annotations.Test;
@Test
public class ApiTest {
}