@Override
    public void updateService(String serviceName, String groupName, float protectThreshold) throws NacosException {
        Service service = new Service();
        service.setName(serviceName);
        service.setGroupName(groupName);
        service.setProtectThreshold(protectThreshold);
        
        updateService(service, new NoneSelector());
    }
@Test
    void testUpdateService1() throws NacosException {
        //given
        String serviceName = "service1";
        String groupName = "groupName";
        float protectThreshold = 0.1f;
        
        //when
        nacosNamingMaintainService.updateService(serviceName, groupName, protectThreshold);
        //then
        verify(serverProxy, times(1)).updateService(argThat(new ArgumentMatcher<Service>() {
            @Override
            public boolean matches(Service service) {
                return service.getName().equals(serviceName) && service.getGroupName().equals(groupName)
                        && Math.abs(service.getProtectThreshold() - protectThreshold) < 0.1f;
            }
        }), argThat(o -> o instanceof NoneSelector));
    }