Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | public function testOutboxHappyPathWorkflowOnFlushEvent() : void |
||
35 | { |
||
36 | $this->mapBasedEventsHandler->addConverter( |
||
37 | FirstDomainEvent::class, |
||
38 | new FirstOutboxConverter() |
||
39 | ); |
||
40 | |||
41 | $eventArgs = $this->getEventArgs(); |
||
42 | |||
43 | $this->entityManager->expects(self::once())->method('persist'); |
||
44 | $this->unitOfWork->expects(self::once())->method('computeChangeSets'); |
||
45 | |||
46 | $this->mapBasedEventsHandler->onFlush($eventArgs); |
||
47 | } |
||
49 |