original_string: protected function seeSuccessData($data = null)
      {
          collect($data)->each(function ($value, $key) {
              if (is_array($value)) {
                  $this->seeSuccessData($value);
              } else {
                  $this->seeJson([$key => $value]);
              }
          });
  
          return $this;
      }
code: protected function seeSuccessData($data = null)
      {
          collect($data)->each(function ($value, $key) {
              if (is_array($value)) {
                  $this->seeSuccessData($value);
              } else {
                  $this->seeJson([$key => $value]);
              }
          });
  
          return $this;
      }
code_tokens: protected function seeSuccessData ( $ data = null ) { collect ( $ data ) -> each ( function ( $ value , $ key ) { if ( is_array ( $ value ) ) { $ this -> seeSuccessData ( $ value ) ; } else { $ this -> seeJson ( [ $ key => $ value ] ) ; } } ) ; return $ this ; }
docstring: Assert that the response data contains given values.
  
  @param  mixed $data
  @return $this
docstring_tokens: Assert that the response data contains given values .