public function testReverseTransformExpectsString() { $transformer = new PercentToLocalizedStringTransformer(); $this->setExpectedException('\\InvalidArgumentException'); $transformer->reverseTransform(1); }
public function testReverseTransformExpectsString() { $transformer = new PercentToLocalizedStringTransformer(); $this->setExpectedException('Symfony\\Component\\Form\\Exception\\UnexpectedTypeException'); $transformer->reverseTransform(1, null); }