TYPO3
/** * @test */ public function integersArePaddedCorrectly() { $this->viewHelper->expects($this->once())->method('renderChildren')->will($this->returnValue(123)); $actualResult = $this->viewHelper->render(5, '0'); $this->assertEquals('12300', $actualResult); }