@@ -390,6 +390,7 @@ public function thereShouldNotExistANamespacePrefix($arg1)
390390 public function thereShouldExistANodeAt ($ arg1 )
391391 {
392392 $ session = $ this ->getSession ();
393+
393394 try {
394395 $ session ->getNode ($ arg1 );
395396 } catch (PathNotFoundException $ e ) {
@@ -472,6 +473,7 @@ public function thereShouldNotExistANodeAt($arg1)
472473
473474 try {
474475 $ session ->getNode ($ arg1 );
476+
475477 throw new \Exception ('Node at path ' .$ arg1 .' exists. ' );
476478 } catch (PathNotFoundException $ e ) {
477479 // good.. not does not exist
@@ -505,6 +507,7 @@ public function thereShouldNotExistAPropertyAt($arg1)
505507
506508 try {
507509 $ session ->getProperty ($ arg1 );
510+
508511 throw new \Exception ('Property exists at " ' .$ arg1 .'" ' );
509512 } catch (PathNotFoundException $ e ) {
510513 // good
@@ -577,6 +580,7 @@ public function thereExistsAWorkspace($arg1)
577580 {
578581 $ session = $ this ->getSession ();
579582 $ workspace = $ session ->getWorkspace ();
583+
580584 try {
581585 $ workspace ->createWorkspace ($ arg1 );
582586 } catch (\Exception $ e ) {
@@ -591,6 +595,7 @@ public function thereShouldNotExistAWorkspaceCalled($arg1)
591595 {
592596 try {
593597 $ this ->thereShouldExistAWorkspaceCalled ($ arg1 );
598+
594599 throw new \Exception (sprintf ('Workspace "%s" exists. ' , $ arg1 ));
595600 } catch (\Exception $ e ) {
596601 }
@@ -642,6 +647,7 @@ public function thereShouldNotExistANodeTypeNamed($arg1)
642647 $ session = $ this ->getSession ();
643648 $ workspace = $ session ->getWorkspace ();
644649 $ nodeTypeManager = $ workspace ->getNodeTypeManager ();
650+
645651 try {
646652 $ nodeTypeManager ->getNodeType ($ arg1 );
647653 } catch (\Exception $ e ) {
0 commit comments