public function loading_a_required_certificate_from_an_empty_configuration_throws_an_exception()
{
$this->configurationMock->shouldReceive('getKeys')->once()->andReturnNull()->shouldReceive('getCertificateData')->once()->andReturnNull()->shouldReceive('getCertificateFile')->once()->andReturnNull();
$this->keyLoader->loadKeysFromConfiguration($this->configurationMock, null, true);
}