| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 40 | function it_provides_active_promotions(  | 
            ||
| 41 | $promotionRepository,  | 
            ||
| 42 | PromotionInterface $promotion1,  | 
            ||
| 43 | PromotionInterface $promotion2,  | 
            ||
| 44 | PromotionSubjectInterface $subject  | 
            ||
| 45 |     ) { | 
            ||
| 46 | $promotionRepository->findActive()->willReturn([$promotion1, $promotion2]);  | 
            ||
| 47 | |||
| 48 | $this->getPromotions($subject)->shouldReturn([$promotion1, $promotion2]);  | 
            ||
| 49 | }  | 
            ||
| 50 | }  | 
            ||
| 51 |