public function viewHelperReturnsIdWhenRenderChildrenReturnsEmptyResultIfIdIsNotFound()
{
$this->mockTranslator->expects($this->once())->method('translateById', 'some.label', 'Main', 'TYPO3.Flow', array(), null, $this->dummyLocale)->will($this->returnValue('some.label'));
$this->translateViewHelper->expects($this->once())->method('renderChildren')->will($this->returnValue(null));
$result = $this->translateViewHelper->render('some.label', null, array(), 'Main', null, null, 'de_DE');
$this->assertEquals('some.label', $result);
}