@Test
public void isMatch_exact() {

    RequestFilter requestFilter = new RequestFilter(Collections.singletonList("https://www.test.com/todos"));
    assertFalse(requestFilter.isMatch("https://www.test.com/todos/1"));
    assertFalse(requestFilter.isMatch("https://www.test.com/todos/1/"));
    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"));
}