public function test_get_attribute_returns_correct_values_when_exists() { $actual = $this->service->get_attribute("akey"); $this->assertEquals(array("avalue"), $actual); }
private function get_sso_attribute($key) { $values = $this->saml_response_service->get_attribute($key); return $values ? $values[0] : null; }