public function testFindCount() { parent::testFindCount(); $this->assertEquals(3, Product::find()->count()); $this->assertEquals(1, Product::find()->where(['(!int!)' => 123])->count()); $this->assertEquals(2, Product::find()->where(['(!int!)' => [123, 456]])->count()); $this->assertEquals(2, Product::find()->where(['(!int!)' => [123, 456]])->offset(1)->count()); $this->assertEquals(2, Product::find()->where(['(!int!)' => [123, 456]])->offset(2)->count()); }