public class Demo { public String call (){ String s="打电话"; System.out.println(s); return s; } }
import org.junit.Test; public class Test01 { @Test public void TestCall(){ Demo demo =new Demo(); demo.call(); } };
public class Demo { public String call (){ String s="打电话"; System.out.println(s); return s; } }
import org.junit.Test; public class Test01 { @Test public void TestCall(){ Demo demo =new Demo(); demo.call(); } };