done.


On Fri, Nov 1, 2013 at 9:34 PM, Benjamin Eberlei
<notifications@github.com>wrote:

> In tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php:
>
> > +
> > +        $this->_em->refresh($person);
> > +        $this->assertEquals('Boo', $person->address->street);
> > +
> > +        // DELETE
> > +        $this->_em->createQuery("DELETE " . __NAMESPACE__ . "\\DDC93Person p WHERE p.address.city = :city")
> > +            ->setParameter('city', 'Karlsruhe')
> > +            ->execute();
> > +
> > +        $this->_em->clear();
> > +        $this->assertNull($this->_em->find(__NAMESPACE__.'\\DDC93Person', $person->id));
> > +    }
> > +
> > +    /**
> > +     * @expectedException Doctrine\ORM\Query\QueryException
> > +     * @expectedExceptionMessage no field or association named address.asdfasdf
>
> We use $this->setExpectedException in the code by convention, can you
> change it to using the method?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/doctrine/doctrine2/pull/835/files#r7380815>
> .
>