@Test
    public void testIsMatch() {
        TestCustomizeFilter testCustomizeFilter = new TestCustomizeFilter();
        Assert.assertTrue(testCustomizeFilter.isMatch(""));

        testCustomizeFilter = new TestCustomizeFilter();
        testCustomizeFilter.setIdRule("AAA,BBB");

        AbstractInterfaceConfig configA = new ProviderConfig();
        configA.setInterfaceId(Serializer.class.getName());
        configA.setId("AAA");
        FilterInvoker filterInvokerA = new FilterInvoker(null, null, configA);
        Assert.assertEquals(true, testCustomizeFilter.needToLoad(filterInvokerA));
    }
@author <a href="mailto:lw111072@antfin.com">liangen</a>
core-impl/filter/src/test/java/com/alipay/sofa/rpc/filter/BeanIdMatchFilterTest.java