/** Test pro /xmldoc/dokumentace */
  @Test
  public void testDokumentace() {
    Model model = new ExtendedModelMap();
    controller.dokumentace(model);

    Assert.assertTrue("Nejsou načteny reference funkcí", model.containsAttribute("xmldocSet"));
  }
  /** Test pro /xmldoc/detail */
  @Test
  public void testDetails() {
    String path = "search.{format}";
    Xmldoc xmldoc = controller.detail(path);

    Assert.assertEquals("Nepodařilo se načíst požadovanou xmldoc funkce", xmldoc.getPath(), path);
  }
  /** Inicializace */
  @Before
  public void initialize() {
    XmldocSearchService searchService;

    searchService = new XmldocSearchServiceImpl();
    controller = new XmldocController();

    controller.setSearchService(searchService);
  }