public function testUnmarshallingRegexp()
{
$document = DOMDocumentFactory::fromString(<<<XML
<shibmd:Scope regexp="true">^(.*|)example.edu\$</shibmd:Scope>
XML
);
$scope = new Scope($document->firstChild);
$this->assertEquals('^(.*|)example.edu$', $scope->scope);
$this->assertTrue($scope->regexp);
}