public static Set<Member> selectTargetMembers(Collection<Member> members, Predicate<Member> filter) {
        return members.stream().filter(filter).collect(Collectors.toSet());
    }
@Test
    void testSelectTargetMembers() {
        Collection<Member> input = new HashSet<>();
        input.add(originalMember);
        Member member = buildMember();
        member.setIp("2.2.2.2");
        input.add(member);
        Set<Member> actual = MemberUtil.selectTargetMembers(input, member1 -> member1.getIp().equals(IP));
        assertEquals(1, actual.size());
    }