Neos\FluidAdaptor\Tests\Unit\ViewHelpers\Format\PaddingViewHelperTest::stringIsNotTruncatedIfPadLengthIsBelowStringLength PHP Method

stringIsNotTruncatedIfPadLengthIsBelowStringLength() public method

    public function stringIsNotTruncatedIfPadLengthIsBelowStringLength()
    {
        $this->viewHelper->expects($this->once())->method('renderChildren')->will($this->returnValue('some long string'));
        $actualResult = $this->viewHelper->render(5);
        $this->assertEquals('some long string', $actualResult);
    }