TestCase 實現原理
package test;
import junit.framework.TestCase;
public class BeanTest extends TestCase{
?
?protected void setUp() {
??/*Object obj = SpringContext.getBean("ceblogAlbumService");*/
??? }
?public void testInsert()throws Exception{
???? System.out.println("hello world 2");
?}
?
?public void testAbc()throws Exception{
???? System.out.println("testsfsf 3");
?}
}