function setUp()
 {
     parent::setUp();
     $settings = new MovieViewerSettings();
     $settings->data["dir"] = dirname(__FILE__) . "/resources";
     $settings->timezone = new DateTimeZone("Asia/Tokyo");
     $this->setGlobalSettings($settings);
 }
 function setUp()
 {
     parent::setUp();
     $settings = new MovieViewerSettings();
     $settings->data["dir"] = "test/models/resources";
     $settings->timezone = new DateTimeZone("Asia/Tokyo");
     $this->setGlobalSettings($settings);
 }
 function setUp()
 {
     parent::setUp();
     $settings = new MovieViewerSettings();
     $settings->data["dir"] = "test/models/resources";
     $settings->payment = new MovieViewerPaymentSettings(array("bank_transfer" => array("bank_names" => array(), "bank_accounts" => array(), "notes" => "")));
     $settings->timezone = new DateTimeZone("Asia/Tokyo");
     $this->setGlobalSettings($settings);
 }