Línea 44... |
Línea 44... |
44 |
* @param null|string $altwellknownsuffix an alternate value for the well known suffix to use in the reader.
|
44 |
* @param null|string $altwellknownsuffix an alternate value for the well known suffix to use in the reader.
|
45 |
* @param array $expected test expectations.
|
45 |
* @param array $expected test expectations.
|
46 |
* @return void
|
46 |
* @return void
|
47 |
*/
|
47 |
*/
|
48 |
public function test_read_configuration(string $issuerurl, ResponseInterface $httpresponse, ?string $altwellknownsuffix = null,
|
48 |
public function test_read_configuration(string $issuerurl, ResponseInterface $httpresponse, ?string $altwellknownsuffix = null,
|
49 |
array $expected = []) {
|
49 |
array $expected = []): void {
|
Línea 50... |
Línea 50... |
50 |
|
50 |
|
51 |
$mock = new MockHandler([$httpresponse]);
|
51 |
$mock = new MockHandler([$httpresponse]);
|
52 |
$handlerstack = HandlerStack::create($mock);
|
52 |
$handlerstack = HandlerStack::create($mock);
|
53 |
if (!empty($expected['request'])) {
|
53 |
if (!empty($expected['request'])) {
|