public function test_getQueryToSelectCount() { /** === Setup Mocks === */ // $result = $this->_factorySelect->getQueryToSelectCount(); $mQuery = $this->_mockDbSelect(); $this->mFactorySelect->shouldReceive('getQueryToSelectCount')->once()->andReturn($mQuery); /** === Call and asserts === */ $res = $this->obj->getQueryToSelectCount(); $this->assertInstanceOf(\Magento\Framework\DB\Select::class, $res); }
public function test_getQueryToSelectCount() { /** === Call and asserts === */ $res = $this->obj->getQueryToSelectCount(); $this->assertNotNull($res); }