Neos\FluidAdaptor\Tests\Unit\ViewHelpers\Format\NumberViewHelperTest::formatNumberWithDecimalsDecimalPointAndSeparator PHP Метод

formatNumberWithDecimalsDecimalPointAndSeparator() публичный Метод

    public function formatNumberWithDecimalsDecimalPointAndSeparator()
    {
        $this->viewHelper->expects($this->once())->method('renderChildren')->will($this->returnValue(10000.0 / 3.0));
        $actualResult = $this->viewHelper->render(3, ',', '.');
        $this->assertEquals('3.333,333', $actualResult);
    }