public function load_keys_constructs_x509_certificate()
{
$keys = array(array('X509Certificate' => $this->certificate));
$this->keyLoader->loadKeys($keys, null);
$loadedKeys = $this->keyLoader->getKeys();
$this->assertCount(1, $loadedKeys);
$this->assertInstanceOf('SAML2\\Certificate\\X509', $loadedKeys->get(0));
}