public function testVerifyDkim()
 {
     $identity = new DomainIdentity("test.com");
     $sesClient = $this->getMockBuilder('\\Aws\\Ses\\SesClient')->disableOriginalConstructor()->setMethods(['verifyDomainDkim'])->getMock();
     $sesClient->expects($this->once())->method('verifyDomainDkim')->with($this->equalTo(['Domain' => $identity->getDomain()]));
     $manager = new DomainManager($sesClient, $identity);
     $manager->verifyDkim();
 }
 public function testGetDomain()
 {
     $sesIdentity = new DomainIdentity("test.com");
     $this->assertEquals("test.com", $sesIdentity->getDomain());
 }