/**
  * loads the pricing mock object for tests
  *
  * @param string $timezone Timezone string to initialize the times in.
  * @since 4.6
  */
 protected function _load_pricing_mock($timezone = 'America/Vancouver')
 {
     $this->_pricingMock = new espresso_events_Pricing_Hooks_Mock();
     $this->_event = $this->factory->event->create();
     $this->_event->set_timezone($timezone);
     $this->_event->save();
     $this->_set_default_dates($timezone);
 }
 /**
  * loader for setting the $_admin_page_property
  *
  * @param string $timezone Timezone string to initialize the times in.
  * @since 4.6
  */
 protected function _load_requirements($timezone = 'America/Vancouver')
 {
     $this->_admin_page = new Events_Admin_Page_Decaf_Mock();
     $this->_event = $this->factory->event->create();
     $this->_event->set_timezone($timezone);
     $this->_event->save();
     $this->_set_default_dates($timezone);
 }