Пример #1
0
 public function testParent()
 {
     $step = new StepNode('Given');
     $this->assertNull($step->getParent());
     $step->setParent($scenario = new ScenarioNode());
     $this->assertSame($scenario, $step->getParent());
 }