자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * Test getters */ public function testGets() { $node = $this->getMock('Choccybiccy\\Pathfinder\\NodeInterface'); $parent = new Step($node, null); $step = new Step($node, $parent); $this->assertEquals($node, $parent->getNode()); $this->assertEquals($parent, $step->getParent()); }