public static MemberLookup createLookUp(ServerMemberManager memberManager) throws NacosException {
        if (!EnvUtil.getStandaloneMode()) {
            String lookupType = EnvUtil.getProperty(LOOKUP_MODE_TYPE);
            LookupType type = chooseLookup(lookupType);
            LOOK_UP = find(type);
            currentLookupType = type;
        } else {
            LOOK_UP = new StandaloneMemberLookup();
        }
        LOOK_UP.injectMemberManager(memberManager);
        Loggers.CLUSTER.info("Current addressing mode selection : {}", LOOK_UP.getClass().getSimpleName());
        return LOOK_UP;
    }
@Test
    void createLookUpFileConfigMemberLookup() throws Exception {
        EnvUtil.setIsStandalone(false);
        mockEnvironment.setProperty(LOOKUP_MODE_TYPE, "file");
        memberLookup = LookupFactory.createLookUp(memberManager);
        assertEquals(FileConfigMemberLookup.class, memberLookup.getClass());
    }