public function testAllowsKnownSigningAlgorithms() { $o = new OAuth2($this->minimal); foreach (OAuth2::$knownSigningAlgorithms as $a) { $o->setSigningAlgorithm($a); $this->assertEquals($a, $o->getSigningAlgorithm()); } }