此时,NetBeans已经生成了大部分代码,如下:
view plaincopy to clipboardprint?
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author 雁过留声
*/
public class BookBeanTest {
public BookBeanTest() {
}
@BeforeClass
public static void setUpClass() throws Exception {
}
@AfterClass
public static void tearDownClass() throws Exception {
}
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/