public function testConversionFailure() { error_reporting((E_ALL | E_STRICT) - \E_NOTICE); $this->setExpectedException('Doctrine\\OXM\\Types\\ConversionException'); $this->_type->convertToPHPValue('abcdefg'); }