function testInvalidSubmit() { $this->setExpectedException("Loops\\Exception"); $app = new WebApplication(__DIR__ . "/app", "/"); $form = new Form(); $form->submit(); }