import org.mule.functional.junit4.MuleArtifactFunctionalTestCase; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class MyApiTestCase extends MuleArtifactFunctionalTestCase { @Override protected String getConfigFile() { } @Test public void testGetUser() throws Exception { String url = "http://localhost:8081/api/users/1"; assertNotNull(response); } }


上一篇:
下一篇:
切换中文