@Test
public void filenumberAndExtension() {

    String prefix = "prefix_[FILENUMBER]_[BASENAME]";
    assertEquals("prefix_3_name.txt", new PrefixTypesChain(prefix).process(prefix,
            nameRequest("txt").originalName("name.pdf").fileNumber(3)));
}