コード例 #1
0
ファイル: StepNodeTest.php プロジェクト: kingsj/core
 public function testParent()
 {
     $step = new StepNode('Given');
     $this->assertNull($step->getParent());
     $step->setParent($scenario = new ScenarioNode());
     $this->assertSame($scenario, $step->getParent());
 }