@Test
public void testUnescapedRegexInBasename() {

    String prefix = "[BASENAME]";
    String originalName = "x$5.pdf";
    String expected = "x$5";
    assertEquals(expected, victim.process(prefix, nameRequest().originalName(originalName)));
}