* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Tests\Extension\Core\DataTransformer; use PHPUnit\Framework\TestCase; class BaseDateTimeTransformerTest extends TestCase { /** * @expectedException \Symfony\Component\Form\Exception\InvalidArgumentException * @expectedExceptionMessage this_timezone_does_not_exist */ public function testConstructFailsIfInputTimezoneIsInvalid() { $this->getMockBuilder('Symfony\Component\Form\Extension\Core\DataTransformer\BaseDateTimeTransformer')->setConstructorArgs(array('this_timezone_does_not_exist'))->getMock(); } /** * @expectedException \Symfony\Component\Form\Exception\InvalidArgumentException * @expectedExceptionMessage that_timezone_does_not_exist */ public function testConstructFailsIfOutputTimezoneIsInvalid() { $this->getMockBuilder('Symfony\Component\Form\Extension\Core\DataTransformer\BaseDateTimeTransformer')->setConstructorArgs(array(null, 'that_timezone_does_not_exist'))->getMock(); } } __halt_compiler();----SIGNATURE:----teY5xAwGNEm7BdZ8n4WgrCRiJ3Kq6RiY75bLHfqM8Qgv3PRr/mTKsVD1x3FNh00/pGzDG70Wbz+Vewalcf153isLysSauuxQIGdiVbdKMG0lXcYcQdXerBXvAVFScSCDedsnCUV1YYNsnNnKqmWkmUODENKhNLqT3CL/+rHBpwFNJz+1p/wlm+Iq9Coo32UbsZU1IN5DxiKZXhP90ARWQfXkc5OvjHvhc/LcmQdgxGmfOWQ2bnFOCNDA4CrFuONiuGVTGFUuwZGyVcHbB05LiOpHyPIeYfplZCdjTvzv00JDIEf12jHBSwMwD/ZXDhZmdV/EOyfXswt2kkFpj9a9VD2IcT0i01596ecCv4eZUD5HFD7DvhermED1k6LEltXM9LG/JLgjvezMCKsuObV0rZES4IFg1lAazRXRXiYv2vih5m9x9uw3WSnrO6ht0C7cDZ/DMH7UeYuG1GgMzKjt9pngtLdeM4bJxgNMkj1d7zgkuUAmYYsCZlrlkfGPGtOaunIuIxBwn7n52Ybe8KESGz15ExEhjiKCfo6AgAjWAx56y2Cf3eRFQSFubGuCcLEXFoKEY97pCxVthODceR6NqY1vtQLjowmnX44Iq60Uni8Q+1QnvqEycbVac2wbZ+Ufuyqxj73k1nFN24T4J1qswu9uoiNbcpkqxSNQx6YKktU=----ATTACHMENT:----MTU5MDA5NDU0NTc2OTMyMyA1MDA1NDg2NTE0MDk3NDI2IDg4MDc1NDU5MTE3NzMyOTU=