public function testParent() { $step = new StepNode('Given'); $this->assertNull($step->getParent()); $step->setParent($scenario = new ScenarioNode()); $this->assertSame($scenario, $step->getParent()); }
public function testParent() { $step = new StepNode('Given'); $this->assertNull($step->getParent()); $step->setParent($scenario = new ScenarioNode()); $this->assertSame($scenario, $step->getParent()); }