You are here

public function ShippingOrderManagerTest::testIsShippable in Commerce Shipping 8.2

@covers ::isShippable

File

tests/src/Kernel/ShippingOrderManagerTest.php, line 205

Class

ShippingOrderManagerTest
Tests the shipping order manager.

Namespace

Drupal\Tests\commerce_shipping\Kernel

Code

public function testIsShippable() {
  $this
    ->assertFalse($this->shippingOrderManager
    ->isShippable($this->nonShippableOrder));
  $this
    ->assertTrue($this->shippingOrderManager
    ->isShippable($this->shippableOrder));
}