public function get_billing_company($context = 'view') { return $this->get_address_prop('company', 'billing', $context); }
/** * Test: get_billing_company */ function test_get_billing_company() { $object = new WC_Order(); $set_to = 'Bedrock Ltd.'; $object->set_billing_company($set_to); $this->assertEquals($set_to, $object->get_billing_company()); }