public function testCanCountImages() { $this->assertSame(0, $this->model->getCount()); $this->assertSame($this->model, $this->model->setGroups(['group1' => [], 'group2' => []])); $this->assertSame(2, $this->model->getCount()); }