@Test
void clear_sameNode() {

    final String subPath = "";
    final Long expectedResponse = 1L;
    initNodes();
    when(cacheManagerServiceMocks.get("node1").clear(Mockito.any(FindCacheInfoCriteria.class)))
            .thenReturn(1L);
    doDeleteTest(
            subPath,
            Long.class,
            expectedResponse,
            webTarget -> webTarget.queryParam("cacheName", "cache1"),
            webTarget -> webTarget.queryParam("nodeName", "node1"));
    verify(cacheManagerServiceMocks.get("node1"))
            .clear(Mockito.any());
    verify(cacheManagerServiceMocks.get("node2"), Mockito.never())
            .clear(Mockito.any());
    verify(cacheManagerServiceMocks.get("node3"), Mockito.never())
            .clear(Mockito.any());
}