    @Test
    public void queryRemoteNodesWithNullSelf() throws NacosException {

        List<Instance> instances = mockInstance();
        when(namingService.selectInstances(anyString(), anyBoolean())).thenReturn(instances);
        List<RemoteInstance> remoteInstances = coordinator.queryRemoteNodes();
        assertEquals(remoteInstances.size(), instances.size());
    }