/**
  * @group shopobjects
  */
 function testCreateShippingMethodOnlyName()
 {
     // GIVEN
     $shippingMethodParameter = $this->givenShippingMethodOnlyName();
     // WHEN
     $shippingMethod = new PaymentMethod($shippingMethodParameter);
     // THEN
     $this->assertFalse($shippingMethod->error());
     $this->assertEquals($shippingMethod->getName(), "DHL");
     $this->assertNull($shippingMethod->getID());
 }
 /**
  * @group shopobjects
  */
 function testCreatePaymentMethodOnlyName()
 {
     // GIVEN
     $paymentMethodParameter = $this->givenPaymentMethodOnlyName();
     // WHEN
     $paymentMethod = new PaymentMethod($paymentMethodParameter);
     // THEN
     $this->assertFalse($paymentMethod->error());
     $this->assertEquals($paymentMethod->getName(), "Paypal");
     $this->assertNull($paymentMethod->getID());
 }