@Test
public void shouldMatchWildcardPattern() {

    GlobFilter filter = newGlobFilter("basic.*");
    String testName = "basic.FooTest";
    assertThat(testName, filter.findMatchingPattern(testName).isPresent(), is(true));
    testName = "basic.FooTest#someTest()";
    assertThat(testName, filter.findMatchingPattern(testName).isPresent(), is(true));
    testName = "failure.AssumptionsTest";
    assertThat(testName, filter.findMatchingPattern(testName).isPresent(), is(false));
}