@Test
public void getCacheUrlsTest() {

    List<URL> urls = new ArrayList<>();
    urls.add(testUrl);
    // check if notify successfully
    Assertions.assertFalse(notifySuccess);
    abstractRegistry.notify(testUrl, listener, urls);
    Assertions.assertTrue(notifySuccess);
    List<URL> cacheUrl = abstractRegistry.getCacheUrls(testUrl);
    Assertions.assertEquals(1,cacheUrl.size());
    URL nullUrl = URL.valueOf("http://1.2.3.4:9090/registry?check=false&file=N/A&interface=com.testa");
    cacheUrl = abstractRegistry.getCacheUrls(nullUrl);
    Assertions.assertTrue(Objects.isNull(cacheUrl));
}