public function testPathAsString()
{
$menu = $this->getMock('Knp\\Menu\\ItemInterface');
$manipulatorMock = $this->getManipulatorMock(array('getPathAsString'));
$manipulatorMock->expects($this->any())->method('getPathAsString')->with($menu)->will($this->returnValue('A > B'));
$helper = new MenuHelper($this->getHelperMock(), $this->getMatcherMock(), $manipulatorMock);
$this->assertEquals('A > B', $helper->getPathAsString($menu));
}