@Test
public void basenameYesPage() {

    String prefix = "prefix_[BASENAME]";
    // no uniqueness, page is prepended
    assertEquals("5_prefix_name.pdf",
            new PrefixTypesChain(prefix).process(prefix, nameRequest().originalName("name").page(5)));
}