3 namespace Tests\Behat\Gherkin\Node;
5 use Behat\Gherkin\Node\PyStringNode;
6 use Behat\Gherkin\Node\StepNode;
7 use Behat\Gherkin\Node\TableNode;
9 class StepNodeTest extends \PHPUnit_Framework_TestCase
11 public function testThatStepCanHaveOnlyOneArgument()
13 $this->setExpectedException('Behat\Gherkin\Exception\NodeException');
15 new StepNode('Gangway!', 'I am on the page:', array(
16 new PyStringNode(array('one', 'two'), 11),
17 new TableNode(array(array('one', 'two'))),