loadFingerprints() public method

Loads the fingerprints from a configurationValue
Deprecation:
public loadFingerprints ( SAML2\Configuration\CertificateProvider $configuration ) : FingerprintCollection
$configuration SAML2\Configuration\CertificateProvider
return FingerprintCollection
Example #1
0
 /**
  * @group        certificate
  * @test
  *
  * @dataProvider invalidConfigurationProvider
  * @expectedException \SAML2\Exception\InvalidArgumentException
  */
 public function it_correctly_parses_arrays_and_traversables($configurationValue)
 {
     $this->configurationMock->shouldReceive('getCertificateFingerprints')->once()->andReturn($configurationValue);
     $result = $this->fingerprintLoader->loadFingerprints($this->configurationMock);
     $this->assertInstanceOf('\\SAML2\\Certificate\\FingerprintCollection', $result);
     $this->assertCount(count($configurationValue), $result);
 }