public function testExportFromYamlWithFileError() { $this->prepExportMockServices(); $results = $this->schematicService->exportToYaml('non-existing-folder/not-a-file', 'all', false); $this->assertTrue($results->hasErrors()); }