We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b8e7d2 commit e98d485Copy full SHA for e98d485
tests/SAML2/Type/AnyURIListValueTest.php
@@ -11,6 +11,8 @@
11
use SimpleSAML\SAML2\Type\AnyURIListValue;
12
use SimpleSAML\XMLSchema\Exception\SchemaViolationException;
13
14
+use function strval;
15
+
16
/**
17
* Class \SimpleSAML\Test\SAML2\Type\AnyURIListTest
18
*
@@ -46,6 +48,16 @@ public function testToArray(): void
46
48
}
47
49
50
51
+ /**
52
+ * Test stringification of AnyURIListValue
53
+ */
54
+ public function testToString(): void
55
+ {
56
+ $anyURIList = AnyURIListValue::fromString("urn:x-simplesamlphp:namespace urn:x-ssp:ns");
57
+ $this->assertEquals('urn:x-simplesamlphp:namespace urn:x-ssp:ns', strval($anyURIList));
58
+ }
59
60
61
62
* @return array<string, array{0: true, 1: string}>
63
*/
0 commit comments