public function test_returns_set_xml_key() { $options = new SigningOptions(); $options->setPrivateKey($key = TestHelper::getXmlSecurityKeyMock($this)); $this->assertSame($key, $options->getPrivateKey()); }
public function test_returns_set_key() { $writer = new SignatureWriter(); $writer->setXmlSecurityKey($key = TestHelper::getXmlSecurityKeyMock($this)); $this->assertSame($key, $writer->getXmlSecurityKey()); }