@Test
public void shouldBuildRelationsOfControllersUsingGivenName() throws Exception {

	when(router.urlFor(Controller.class, doIt)).thenReturn("http://caelumobjects.com");
	builder.relation("payment").uses(Controller.class).doIt();
	assertThat(builder, hasRelation("payment", "http://caelumobjects.com"));
}