Neos\FluidAdaptor\Tests\Unit\ViewHelpers\Form\SelectViewHelperTest::getTranslatedLabelThrowsExceptionForInvalidLocales PHP Method

getTranslatedLabelThrowsExceptionForInvalidLocales() public method

    public function getTranslatedLabelThrowsExceptionForInvalidLocales()
    {
        $this->arguments['translate'] = array('locale' => 'invalid-locale');
        $this->injectDependenciesIntoViewHelper($this->viewHelper);
        $this->viewHelper->_call('getTranslatedLabel', 'value1', 'label1');
    }