Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | protected function setupPostsApi() |
||
22 | { |
||
23 | $repository = new InMemoryPostsRepository(); |
||
24 | $this->postsApi = new PostsApi( |
||
25 | new InMemoryEventPublisher(), |
||
26 | $repository, |
||
27 | $repository, |
||
28 | $repository, |
||
29 | $repository, |
||
30 | new InMemoryLoggedInUserProvider(), |
||
31 | new InMemoryPostTransactionFactory(), |
||
32 | $repository, |
||
33 | $repository, |
||
34 | $this->createMock(LoggerInterface::class) |
||
35 | ); |
||
37 | } |