public function get_billing_state($context = 'view') { return $this->get_address_prop('state', 'billing', $context); }
/** * Test: get_billing_state */ function test_get_billing_state() { $object = new WC_Order(); $set_to = 'Boulder'; $object->set_billing_state($set_to); $this->assertEquals($set_to, $object->get_billing_state()); }