public function __construct($id = '')
{
parent::__construct();
if (!empty($id)) {
$this->set_id($id);
} else {
$this->set_object_read(true);
}
$this->data_store = new WC_Mock_WC_Data_Store();
if ($this->get_id() > 0) {
$this->data_store->read($this);
}
}