/** * @test * @expectedException \TYPO3\Form\Exception\FinisherPresetNotFoundException */ public function createFinisherThrowsExceptionIfFinisherPresetNotFound() { $formDefinition = new FormDefinition('foo1'); $formDefinition->createFinisher('asdf'); }