Neos\Flow\Tests\Functional\Property\TypeConverter\FloatConverterTest::convertFromThrowsExceptionIfLocaleIsInvalid PHP Method

convertFromThrowsExceptionIfLocaleIsInvalid() public method

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