getName() 공개 메소드

public getName ( ) : string
리턴 string
예제 #1
0
 public function testGetName()
 {
     $helperMock = $this->getMockBuilder('Knp\\Menu\\Twig\\Helper')->disableOriginalConstructor()->getMock();
     $helper = new MenuHelper($helperMock);
     $this->assertEquals('knp_menu', $helper->getName());
 }
예제 #2
0
 public function testGetName()
 {
     $helper = new MenuHelper($this->getHelperMock(), $this->getMatcherMock(), $this->getManipulatorMock());
     $this->assertEquals('knp_menu', $helper->getName());
 }