*/ class t3lib_befuncTest extends tx_phpunit_testcase { /** * @var t3lib_BEfunc */ private $fixture; public function setUp() { $this->fixture = new t3lib_BEfunc(); } public function tearDown() { unset($this->fixture); } /////////////////////////////////////// // Tests concerning getProcessedValue /////////////////////////////////////// /** * @test * * @see http://bugs.typo3.org/view.php?id=11875 */ public function getProcessedValueForZeroStringIsZero() { $this->assertEquals( '0', $this->fixture->getProcessedValue( 'tt_content', 'header', '0' ) ); } } ?>