public function isEmpty() { return empty($this->accessList); }
public function testIsEmpty() { $accessControl = new SimpleArrayAdapter(); $this->assertTrue($accessControl->isEmpty()); $accessControl = new SimpleArrayAdapter(['foo' => 'bar']); $this->assertFalse($accessControl->isEmpty()); }