| 1 | <?php  | 
            ||
| 21 | final class PaymentContext implements Context  | 
            ||
| 22 | { | 
            ||
| 23 | /**  | 
            ||
| 24 | * @var PaymentRepositoryInterface  | 
            ||
| 25 | */  | 
            ||
| 26 | private $paymentRepository;  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * @param PaymentRepositoryInterface $paymentRepository  | 
            ||
| 30 | */  | 
            ||
| 31 | public function __construct(PaymentRepositoryInterface $paymentRepository)  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 |      * @Then /^there should be no ("[^"]+" payments) in the registry$/ | 
            ||
| 38 | */  | 
            ||
| 39 | public function paymentShouldNotExistInTheRegistry(PaymentMethodInterface $paymentMethod)  | 
            ||
| 45 | }  | 
            ||
| 46 |