ExcludeRouter extends Router { public String getExcludeName() { return excludeName; } ExcludeRouter(String excludeName); String getExcludeName(); @Override List<ProviderInfo> route(SofaRequest request, List<ProviderInfo> providerInfos);  }
@Test public void getExcludeName() throws Exception { Assert.assertEquals("*", new ExcludeRouter("*").getExcludeName()); }