Neos\Flow\Tests\Functional\Property\TypeConverter\FloatConverterTest::convertFromThrowsExceptionIfLocaleIsInvalid PHP 메소드

convertFromThrowsExceptionIfLocaleIsInvalid() 공개 메소드

    public function convertFromThrowsExceptionIfLocaleIsInvalid()
    {
        $configuration = new PropertyMappingConfiguration();
        $configuration->setTypeConverterOption(FloatConverter::class, 'locale', 'some-non-existent-locale-identifier');
        $this->converter->convertFrom('84,42', 'float', [], $configuration);
    }