@Test
    public void antstyle_equals_match() {
        Filter<String> filter = new ExcludePathFilter("/monitor/stringEquals,/monitor/antstyle.*");

        Assertions.assertTrue(filter.filter("/monitor/stringEquals"));
        Assertions.assertTrue(filter.filter("/monitor/antstyle.html"));

        Assertions.assertFalse(filter.filter("/monitor/stringEquals.test"));
        Assertions.assertFalse(filter.filter("/monitor/antstyleXXX.html"));
    }
/else");
        assertFiltered(filter, "/exclude/a");
        assertFiltered(filter, "/exclude/a/b");
        assertFiltered(filter, "/a/exclude");
        assertFiltered(filter, "/a/b/exclude");
        assertFiltered(filter, "/something/else");
        assertFiltered(filter, "/something/a/else");
        assertFiltered(filter, "/something/a/b/else");

        assertNotFiltered(filter, "a/exclude");
        assertNotFiltered(filter, "something/else");
    }

    private void assertFiltered(Filter<String> filter, String testValue) {
        assertThat(filter.filter(testValue)).isEqualTo(FILTERED);
    }

    private void assertNotFiltered(Filter<String> filter, String testValue) {
        assertThat(filter.filter(testValue)).isEqualTo(NOT_FILTERED);
    }

    // Tests for urls
    @Test
    public void testFilter() {
        Filter<String> filter = new ExcludePathFilter("/monitor/l7check.html, test/l4check.html");

        assertFilter(filter);
    }

    @Test
    public void testFilter_InvalidExcludeURL() {
        Filter<String> filter = new ExcludePathFilter("/monitor/l7check.html, test/l4check.html, ,,");

        assertFilter(filter);
    }

    @Test
    public void testFilter_emptyExcludeURL() {
        Filter<String> filter = new ExcludePathFilter("");

        Assertions.assertFalse(filter.filter("/monitor/l7check.html"));
        Assertions.assertFalse(filter.filter("test/l4check.html"));

        Assertions.assertFalse(filter.filter("test/"));
        Assertions.assertFalse(filter.filter("test/l4check.htm"));
    }

    private void assertFilter(Filter<String> filter) {
        Assertions.assertTrue(filter.filter("/monitor/l7check.html"));
        Assertions.assertTrue(filter.filter("test/l4check.html"));

        Assertions.assertFalse(filter.filter("test/"));
        Assertions.assertFalse(filter.filter("test/l4check.htm"));

        Assertions.assertFalse(filter.filter(null));
        Assertions.assertFalse(filter.filter(""));
    }

    @Test
    public void antStylePath() {
        Filter<String> filter = new ExcludePathFilter("/monitor/l7check.*,/
agent-module/bootstraps/bootstrap-core/src/test/java/com/navercorp/pinpoint/bootstrap/config/ExcludePathFilterTest.java