public void testParseSimpleRestXml() throws Exception {
RestDefinition rest = assertOneRest("simpleRest.xml");
assertEquals("/users", rest.getPath());
assertEquals(1, rest.getVerbs().size());
GetVerbDefinition get = (GetVerbDefinition) rest.getVerbs().get(0);
assertEquals("/view/{id}", get.getUri());
assertEquals("direct:getUser", get.getTo().getUri());
}