class ArrayIncrementerTest extends TestCase
{ use IntegrationTestBehaviour;
private ArrayIncrementer
$arrayIncrementer;
protected function setUp(): void
{ $this->arrayIncrementer =
new ArrayIncrementer();
$this->arrayIncrementer->
setPool('user-activity-pool'
);
} public function testDecrementDoesNotCreate(): void
{ $this->arrayIncrementer->
decrement('test', 'test'
);
static::
assertEmpty($this->arrayIncrementer->
list('test'
));
} public function testIncrement(): void
{ $this->arrayIncrementer->
increment('test-user-1', 'sw.product.index'
);