You are here

public function CheckoutPaneTest::testOrderFieldsPanesDeriver in Commerce Checkout Order Fields 8

File

tests/src/Kernel/CheckoutPaneTest.php, line 101

Class

CheckoutPaneTest
Tests the checkout pane.

Namespace

Drupal\Tests\commerce_checkout_order_fields\Kernel

Code

public function testOrderFieldsPanesDeriver() {
  $checkout_pane_manager = $this->container
    ->get('plugin.manager.commerce_checkout_pane');
  $definitions = $checkout_pane_manager
    ->getDefinitions();
  $this
    ->assertTrue(isset($definitions['order_fields:checkout']));
}