2 namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
30 $this->subject = $this->getMock(CaseViewHelper::class, array(
'renderChildren'));
39 $this->subject->expects($this->once())->method(
'renderChildren');
40 $this->subject->render();
48 $this->subject->expects($this->never())->method(
'renderChildren');
49 $this->subject->render(
'');
50 $this->subject->render(0);
51 $this->subject->render(
'foo');
60 $this->subject->render(
'Foo',
'incorrectMode');
68 $this->assertSame(
'FOOB4R', $this->subject->render(
'FooB4r'));
94 $this->assertSame($expected, $this->subject->render($input, $mode), sprintf(
'The conversion with mode "%s" did not perform as expected.', $mode));