@Test
public void isMatch_checkWithoutResourcesWithoutSlash() {

    RequestFilter requestFilter = new RequestFilter(Collections.singletonList("/todos"));
    assertFalse(requestFilter.isMatch("https://www.test.com/todos/1"));
    assertFalse(requestFilter.isMatch("https://www.test.com/todos/123e4567-e89b-12d3-a456-426655440000"));
    assertTrue(requestFilter.isMatch("https://www.test.com/todos/"));
    assertTrue(requestFilter.isMatch("https://www.test.com/todos"));
    assertTrue(requestFilter.isMatch("https://www.test.com/todos?query=1"));
}