function setUp() { parent::setUp(); $this->db_manager = new CSM_MockDBManager(); $this->db_manager->returns('migrate_first_migration', true); $this->db_manager->returns('migrate_second_migration', true); $this->db_manager->returns('migrate_third_migration', true); $this->db_manager->returns('migrate_fourth_migration', true); $this->mock_wpdb = new mock_wpdb(); $this->use_wpdb('mock'); }
function setUp() { parent::setUp(); $this->journal_entry = new CSM_JournalEntry(); }
function setUp() { parent::setUp(); // TODO need setup? }
function setUp() { parent::setUp(); $this->available_contact_methods = array('email' => __('E-mail'), 'phone_home' => 'Phone (Home)'); }
function setUp() { parent::setUp(); $this->journal = CSM_Singleton::get('CSM_Journal'); }
function setUp() { parent::setUp(); $this->person = new CSM_MockPerson(); $this->person->slug = 'root'; }