original_string: public function responseIsSuccessfullyWithContainScalarResult($result)
      {
          Assertions::assertEquals(200, $this->response->getStatusCode(), sprintf(
              'Response with error "%s"',
              $this->response->getBody()
          ));
  
          Assertions::assertTrue(is_null($this->response->getRpcErrorCode()), sprintf(
              'Response with error "%s"',
              $this->response->getBody()
          ));
  
          Assertions::assertEquals($result, $this->response->getRpcResult(), sprintf(
              'Result must be a contain "%s"',
              $result
          ));
      }
code: public function responseIsSuccessfullyWithContainScalarResult($result)
      {
          Assertions::assertEquals(200, $this->response->getStatusCode(), sprintf(
              'Response with error "%s"',
              $this->response->getBody()
          ));
  
          Assertions::assertTrue(is_null($this->response->getRpcErrorCode()), sprintf(
              'Response with error "%s"',
              $this->response->getBody()
          ));
  
          Assertions::assertEquals($result, $this->response->getRpcResult(), sprintf(
              'Result must be a contain "%s"',
              $result
          ));
      }
code_tokens: public function responseIsSuccessfullyWithContainScalarResult ( $ result ) { Assertions :: assertEquals ( 200 , $ this -> response -> getStatusCode ( ) , sprintf ( 'Response with error "%s"' , $ this -> response -> getBody ( ) ) ) ; Assertions :: assertTrue ( is_null ( $ this -> response -> getRpcErrorCode ( ) ) , sprintf ( 'Response with error "%s"' , $ this -> response -> getBody ( ) ) ) ; Assertions :: assertEquals ( $ result , $ this -> response -> getRpcResult ( ) , sprintf ( 'Result must be a contain "%s"' , $ result ) ) ; }
docstring: Check success response with scalar result
  
  @Then /^response is successfully with contain result "([^"]+)"$/
  
  @param string $result
docstring_tokens: Check success response with scalar result