/**
  * @covers Aws\Common\Signature\SignatureListener::getSubscribedEvents
  */
 public function testSubscribesToEvents()
 {
     $this->assertArrayHasKey('request.before_send', SignatureListener::getSubscribedEvents());
 }
 /**
  * @covers Aws\Common\Signature\SignatureListener::getSubscribedEvents
  */
 public function testSubscribesToEvents()
 {
     $events = SignatureListener::getSubscribedEvents();
     $this->assertArrayHasKey('request.before_send', $events);
     $this->assertArrayHasKey('client.credentials_changed', $events);
 }