original_string: public function _before(TestInterface $test)
      {
          $this->init();
  
          $this->client = new Connector();
          $this->client->setRouter($this->container->get(RouterInterface::class));
  
          if (isset($this->baseRequest)) {
              $this->client->setBaseRequest($this->baseRequest);
          }
          
          if (isset($this->baseResponse)) {
              $this->client->setBaseResponse($this->baseResponse);
          }
  
          parent::_before($test);
      }
code: public function _before(TestInterface $test)
      {
          $this->init();
  
          $this->client = new Connector();
          $this->client->setRouter($this->container->get(RouterInterface::class));
  
          if (isset($this->baseRequest)) {
              $this->client->setBaseRequest($this->baseRequest);
          }
          
          if (isset($this->baseResponse)) {
              $this->client->setBaseResponse($this->baseResponse);
          }
  
          parent::_before($test);
      }
code_tokens: public function _before ( TestInterface $ test ) { $ this -> init ( ) ; $ this -> client = new Connector ( ) ; $ this -> client -> setRouter ( $ this -> container -> get ( RouterInterface :: class ) ) ; if ( isset ( $ this -> baseRequest ) ) { $ this -> client -> setBaseRequest ( $ this -> baseRequest ) ; } if ( isset ( $ this -> baseResponse ) ) { $ this -> client -> setBaseResponse ( $ this -> baseResponse ) ; } parent :: _before ( $ test ) ; }
docstring: Before each test
  
  @param TestInterface $test
docstring_tokens: Before each test