| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 13 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 19 | public function testThatChangingTheEntityFromTheInverseSideInAOneToOneRelationDoesNotCauseUniqueIndexError()  | 
            ||
| 20 |     { | 
            ||
| 21 | $wife = new GH7719Wife();  | 
            ||
| 22 | |||
| 23 | $wife->setHusband(new GH7719Husband());  | 
            ||
| 24 | |||
| 25 | $this->em->persist($wife);  | 
            ||
| 26 | $this->em->flush();  | 
            ||
| 27 | |||
| 28 | $this->em->remove($wife->getHusband());  | 
            ||
| 29 | $wife->setHusband(new GH7719Husband());  | 
            ||
| 30 | |||
| 31 | $this->em->flush();  | 
            ||
| 32 | }  | 
            ||
| 86 |