/** * @group shopobjects */ function testCreateCompleteShippingMethod() { // GIVEN $shippingMethodParameter = $this->givenCompleteShippingMethod(); // WHEN $shippingMethod = new ShippingMethod($shippingMethodParameter); // THEN echo $shippingMethod->errorNumber(); $this->assertFalse($shippingMethod->error()); $this->assertEquals($shippingMethod->getName(), "DHL"); $this->assertEquals($shippingMethod->getID(), "123456789"); }