public function throwsExceptionWhenUnsupportedFormatsEncountered($format) { $reader = $this->getAccessibleMock(I18n\Cldr\Reader\NumbersReader::class, ['dummy']); $reader->_call('parseFormat', $format); }