@Test
public void testGetParameters() {

    URL url = URL.valueOf("10.20.130.230:20880/context/path?interface=org.apache.dubbo.test.interfaceName&group=group&version=1.0.0");
    Map<String, String> parameters = url.getParameters(i -> "version".equals(i));
    String version = parameters.get("version");
    assertEquals(1, parameters.size());
    assertEquals("1.0.0", version);
}