Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function testCreate() |
||
39 | { |
||
40 | $this |
||
41 | ->given($factory = $this->createFactory()) |
||
42 | ->and($repository = $factory->create(PostEventSourced::class)) |
||
43 | ->then() |
||
44 | ->object($repository) |
||
45 | ->isInstanceOf(AggregateRepository::class) |
||
46 | ->and() |
||
47 | ->string($this->invoke($repository)->streamName()) |
||
48 | ->isEqualTo('post_event_sourced') |
||
49 | ; |
||
50 | } |
||
51 | } |
||
52 |