@Test
public void testMultiPlaceHolder() {

    final String snippet = "something.getAnother($1,$2).equals($2, '$2');";
    final SnippetBuilder snip = new SnippetBuilder(snippet);
    final String result = snip.build("x, y");
    assertEquals("something.getAnother(x,y).equals(y, 'y');",
                 result);
}