helper = new SC_Helper_DB_Ex(); } protected function tearDown() { parent::tearDown(); } ///////////////////////////////////////// public function testSfGetBasisExists_baseinfoにデータがある場合_trueを返す() { $this->setUpBasisData(); $this->expected = true; $this->actual = $this->helper->sfGetBasisExists(); $this->verify(); } public function testSfGetBasisExists_baseinfoにデータがない場合_falseを返す() { $this->objQuery->delete('dtb_baseinfo'); $this->expected = false; $this->actual = $this->helper->sfGetBasisExists(); $this->verify(); } }