| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 13 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | public function testBookableRelation(): void  | 
            ||
| 14 |     { | 
            ||
| 15 | $bookable = new Bookable();  | 
            ||
| 16 | |||
| 17 | $transaction = new Transaction();  | 
            ||
| 18 | |||
| 19 | $transaction->setBookable($bookable);  | 
            ||
| 20 | |||
| 21 | self::assertCount(1, $bookable->getTransactions());  | 
            ||
| 22 | |||
| 23 | $transaction->setBookable(null);  | 
            ||
| 24 | |||
| 25 | self::assertCount(0, $bookable->getTransactions());  | 
            ||
| 26 | }  | 
            ||
| 28 |