public function testIsAllScopesWhenScopeIsArray() { $o = new OAuth2($this->minimal); $o->setScope(['test/scope/1', 'test/scope/2']); $this->assertEquals('test/scope/1:test/scope/2', $o->getCacheKey()); }