for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tests\Behat\Gherkin\Node;
use Behat\Gherkin\Node\PyStringNode;
use PHPUnit\Framework\TestCase;
class PyStringNodeTest extends TestCase
{
public function testGetStrings()
$str = new PyStringNode(array('line1', 'line2', 'line3'), 0);
$this->assertEquals(array('line1', 'line2', 'line3'), $str->getStrings());
}
public function testGetRaw()
$expected = <<<STR
line1
line2
line3
STR;
$this->assertEquals($expected, $str->getRaw());