public function test_getQueryToSelectCount() { /** === Test Data === */ $query = 'query'; /** === Setup Mocks === */ // $result = $this->_factorySelect->getQueryToSelectCount(); $this->mFactorySelect->shouldReceive('getQueryToSelectCount')->once()->andReturn($query); /** === Call and asserts === */ $res = $this->obj->getQueryToSelectCount(); $this->assertEquals($query, $res); }
public function getQueryToSelectCount() { $result = $this->_factorySelect->getQueryToSelectCount(); return $result; }