add BusinessTests Methods

This commit is contained in:
huangsimin 2019-05-31 18:14:16 +08:00
parent 85d5689d0f
commit a9681f1a39

View File

@ -0,0 +1,27 @@
package ocean.gateway.routes;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.test.context.junit4.SpringRunner;
import lombok.extern.slf4j.Slf4j;
import ocean.gateway.service.ServiceApplication;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = {ServiceApplication.class}, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class BusinessTests {
@Test
public void TestRouteLocator() {
}
}