public function stop()
    {
        if (null === $this->sessionId) {
            throw new Exception("Session not started");
        }

        $this->doExecute('testComplete');
        $this->sessionId = null;
    }
public function stop()
    {
        if (null === $this->sessionId) {
            throw new Exception("Session not started");
        }

        $this->doExecute('testComplete');
        $this->sessionId = null;
    }
public function stop ( ) { if ( null === $ this -> sessionId ) { throw new Exception ( "Session not started" ) ; } $ this -> doExecute ( 'testComplete' ) ; $ this -> sessionId = null ; }
Stops the session.

@return void
Stops the session .