@Test
public void testFilterPlain() {

    NodeNameInFilter filter = new NodeNameInFilter("x*");
    assertThat(filter.isAccepted(new Node("x1")), is(true));
    assertThat(filter.isAccepted(new Node("x219")), is(true));
    assertThat(filter.isAccepted(new Node("foo")), is(false));
}