public function addWriterThrowsExceptionIfWriterInArrayIsNotWriter() { $this->workflow->addWriter(['writer' => 'invalid']); }