public static void onFail(final ServerMemberManager manager, final Member member) {
        // To avoid null pointer judgments, pass in one NONE_EXCEPTION
        onFail(manager, member, ExceptionUtil.NONE_EXCEPTION);
    }
@Test
    void testMemberOnFailWhenConnectRefused() {
        final Member remote = buildMember();
        mockMemberAddressInfos.add(remote.getAddress());
        remote.setFailAccessCnt(1);
        MemberUtil.onFail(memberManager, remote, new ConnectException(MemberUtil.TARGET_MEMBER_CONNECT_REFUSE_ERRMSG));
        assertEquals(2, remote.getFailAccessCnt());
        assertEquals(NodeState.DOWN, remote.getState());
        assertTrue(mockMemberAddressInfos.isEmpty());
        verify(memberManager).notifyMemberChange(remote);
    }