Sylius\Behat\Context\Ui\Admin\ManagingPaymentMethodsContext::thisPaymentMethodShouldNoLongerExistInTheRegistry PHP Method

thisPaymentMethodShouldNoLongerExistInTheRegistry() public method

public thisPaymentMethodShouldNoLongerExistInTheRegistry ( Sylius\Component\Payment\Model\PaymentMethodInterface $paymentMethod )
$paymentMethod Sylius\Component\Payment\Model\PaymentMethodInterface
    public function thisPaymentMethodShouldNoLongerExistInTheRegistry(PaymentMethodInterface $paymentMethod)
    {
        Assert::false($this->indexPage->isSingleResourceOnPage(['code' => $paymentMethod->getCode(), 'name' => $paymentMethod->getName()]), sprintf('Payment method %s should no longer exist in the registry', $paymentMethod->getName()));
    }