public function testInvalidDateFormatConversion() { $this->setExpectedException('Doctrine\\OXM\\Types\\ConversionException'); $this->_type->convertToPHPValue('abcdefg'); }