Skip to content

Commit

Permalink
Raise QNameElementTrait coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Oct 11, 2022
1 parent c339200 commit 1c98a2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/XML/QNameElementTraitTest.php
Expand Up @@ -51,6 +51,19 @@ public function testMarshalling(): void
}


/**
*/
public function testMarshallingNonNamespacedQualifiedName(): void
{
$qnameElement = new QNameElement('Sender', null);

$this->assertEquals(
'<ssp:QNameElement xmlns:ssp="urn:x-simplesamlphp:namespace">Sender</ssp:QNameElement>',
strval($qnameElement)
);
}


/**
*/
public function testMarshallingInvalidQualifiedNameThrowsException(): void
Expand Down

0 comments on commit 1c98a2f

Please sign in to comment.