public testReturnsEmptyArrayWhenThereIsNoGroups ( ) |
public function testReturnsEmptyArrayWhenThereIsNoGroups()
{
$model = $this->getMock('Imbo\\Model\\Groups');
$model->expects($this->once())->method('setHits')->with(0);
$this->assertSame([], $this->adapter->getGroups(null, $model));
}