public function testFormatTransfersArgumentsToFormatter() { $generator = new Generator(); $provider = new FooProvider(); $generator->addProvider($provider); $this->assertEquals('bazfoo', $generator->format('fooFormatterWithArguments', array('foo'))); }
/** * @inheritdoc */ public function convert($value, array $context = array()) { return $this->faker->format($this->formatter, $this->arguments); }