public function iShouldHaveOneNode() { if ($this->isolated === true) { $this->callStepInSubProcess(__METHOD__); } else { Assert::assertCount(1, $this->currentNodes); return $this->currentNodes[0]; } }