Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| LogisticsObjectStoreContract | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace LambdaTwelve\OneRecord\Testing\Contract; |
| 6 | |
| 7 | use PHPUnit\Framework\TestCase; |
| 8 | |
| 9 | /** |
| 10 | * What every LogisticsObjectStore must do. Extend it, return your store from |
| 11 | * createStore(), and the same tests that pass for the in-memory store prove |
| 12 | * yours. Stores are expected to start empty. |
| 13 | * |
| 14 | * The tests live in LogisticsObjectStoreContractTests, a trait, for hosts that cannot extend this class. |
| 15 | */ |
| 16 | abstract class LogisticsObjectStoreContract extends TestCase |
| 17 | { |
| 18 | use LogisticsObjectStoreContractTests; |
| 19 | } |