public function testClientProfileOption()
{
$extension = new SncRedisExtension();
$config = $this->parseYaml($this->getFullYamlConfig());
$extension->load(array($config), $container = $this->getContainer());
$profileDefinition = $container->getDefinition('snc_redis.client.default_profile');
$options = $container->getDefinition('snc_redis.client.default_options')->getArgument(0);
$this->assertSame((double) 2, $config['clients']['default']['options']['profile'], 'Profile version 2.0 was parsed as float');
$this->assertSame('Predis\\Profile\\RedisVersion200', $profileDefinition->getClass(), 'Profile definition is instance of Predis\\Profile\\RedisVersion200');
$this->assertSame('snc:', $options['prefix'], 'Prefix option was allowed');
}