public function afterSuite() { if ($this->coverageSession) { $this->coverageSession->saveState(); } $this->session->stop(); }
function it_should_stop_session_on_afterSuite_event(Session $session) { $session->stop()->shouldBeCalled(); $this->afterSuite(); }