@Test
public void shouldReturnWantedUrlWithoutArgs() {

when(router.urlFor(TestController.class, anotherMethod, new Object[2])).thenReturn("/expectedURL");
//${linkTo[TestController].anotherMethod}
String uri = handler.get(TestController.class).get("anotherMethod").toString();
assertThat(uri, is("/path/expectedURL"));
}