Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| SubscriptionStoreContract | 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 SubscriptionStore must do, on both sides: the subscriptions this |
| 11 | * host offers, and the subscribers derived from accepted subscription |
| 12 | * requests in the ActionRequestStore it works with. Return both stores from |
| 13 | * createStores(); they must see each other's writes. |
| 14 | * |
| 15 | * The tests live in SubscriptionStoreContractTests, a trait, for hosts that cannot extend this class. |
| 16 | */ |
| 17 | abstract class SubscriptionStoreContract extends TestCase |
| 18 | { |
| 19 | use SubscriptionStoreContractTests; |
| 20 | } |