public function iCallCommandWithBodyText($command, PyStringNode $string)
    {
        $this->executeCommand(
            $command,
            array(
                'body' => $this->addStoredValues($string->getRaw())
            )
        );
    }
public function iCallCommandWithBodyText($command, PyStringNode $string)
    {
        $this->executeCommand(
            $command,
            array(
                'body' => $this->addStoredValues($string->getRaw())
            )
        );
    }
public function iCallCommandWithBodyText ( $ command , PyStringNode $ string ) { $ this -> executeCommand ( $ command , array ( 'body' => $ this -> addStoredValues ( $ string -> getRaw ( ) ) ) ) ; }
Calls specified command with text

Example: Given I called "postCertificates" with the following body text:
"""
<?xml version="1.0" encoding="UTF-8"?>
<Header userId="1" />
<Body>
<Document type="certificate" encoding="uft-8" noPages="1">
<XML>...</XML>
<Image>...</Image>
</Document>
<Document type="certificate" encoding="uft-8" noPages="1">
<XML>...</XML>
<Image>...</Image>
</Document>
</Body>
"""
Example: When I call "postCertificates" with the following body text:
"""
<?xml version="1.0" encoding="UTF-8"?>
<Header userId="1" />
<Body>
<Document type="certificate" encoding="uft-8" noPages="1">
<XML>...</XML>
<Image>...</Image>
</Document>
<Document type="certificate" encoding="uft-8" noPages="1">
<XML>...</XML>
<Image>...</Image>
</Document>
</Body>
"""

@param string       $command Command in service descriptions file
@param PyStringNode $string  Text specified in feature

@Given /^I called "(\S+)" with the following body text:$/
@When /^I call "(\S+)" with the following body text:$/
Calls specified command with text