       atom.project.deserialize(projectState, atom.deserializers)
       atom.workspace = new Workspace({
         config: atom.config, project: atom.project, packageManager: atom.packages,
-        grammarRegistry: atom.grammars, notificationManager: atom.notifications,
+        notificationManager: atom.notifications,
         clipboard: atom.clipboard, viewRegistry: atom.views, grammarRegistry: atom.grammars,
         setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'),
         setDocumentEdited: setDocumentEdited, assert: atom.assert.bind(atom)

    atom.project.setPaths([atom.project.getDirectories()[0]?.resolve('dir')])
    atom.workspace = workspace = new Workspace({
      config: atom.config, project: atom.project, packageManager: atom.packages,
      grammarRegistry: atom.grammars, notificationManager: atom.notifications,
      clipboard: atom.clipboard, viewRegistry: atom.views, grammarRegistry: atom.grammars,
      setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'),
      setDocumentEdited: setDocumentEdited, atomVersion: atom.getVersion(),

        document.title = null
        workspace2 = new Workspace({
          config: atom.config, project: atom.project, packageManager: atom.packages,
          notificationManager: atom.notifications, clipboard: atom.clipboard,
          viewRegistry: atom.views, grammarRegistry: atom.grammars,
          setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'),
          setDocumentEdited: setDocumentEdited, atomVersion: atom.getVersion(),
          assert: atom.assert.bind(atom)
