    public void testFormSubmit() {
        Event event = eventManager.newInstance(EventType.Training);
        wicketTester.startComponentInPage(new EventEditPanel(new EventModel(event)));
        wicketTester.dumpComponentWithPage();
        wicketTester.debugComponentTrees();
        String formId = "eventEditPanel:form";
        FormTester formTester = wicketTester.newFormTester(formId);
        formTester.select("team:input", 1);
        formTester.setValue("date:input", "1.12.2011");
        formTester.select("time:input", 4); 
        formTester.select("venue:input", 1);
        formTester.setValue("summary:input", "New training next sunday");
        formTester.setValue("comment:input", "Hope you bastards are all coming");
        wicketTester.clickLink("submitButton");
        wicketTester.dumpPage();
        wicketTester.assertContainsNot("Fehler bei");
    }

    public void testFormSubmit() {
        Event event = eventManager.newInstance(EventType.Training);
        wicketTester.startComponentInPage(new EventEditPanel(new EventModel(event)));
        wicketTester.dumpComponentWithPage();
        wicketTester.debugComponentTrees();
        String formId = "eventEditPanel:form";
        FormTester formTester = wicketTester.newFormTester(formId);
        formTester.select("team:input", 1);
        formTester.setValue("date:input", "1.12.2011");
        formTester.select("time:input", 4); 
        formTester.select("kickoff:input", 5);
        formTester.select("venue:input", 1);
        formTester.setValue("summary:input", "New training next sunday");
        formTester.setValue("comment:input", "Hope you bastards are all coming");
        wicketTester.clickLink("submitButton");
        wicketTester.dumpPage();
        wicketTester.assertContainsNot("Fehler bei");
    }
