| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | 3 | public function __construct($id, $expectedVersion, $actualVersion) |
|
| 24 | { |
||
| 25 | 3 | parent::__construct(sprintf("The version of aggregate [%s] was not as expected. " |
|
| 26 | 3 | . "Expected [%s], but repository found [%s]", $id, |
|
| 27 | 3 | $expectedVersion, $actualVersion)); |
|
| 28 | 3 | $this->aggregateIdentifier = $id; |
|
| 29 | 3 | $this->expectedVersion = $expectedVersion; |
|
| 30 | 3 | $this->actualVersion = $actualVersion; |
|
| 31 | 3 | } |
|
| 32 | |||
| 50 |