public function testDisableDkim()
 {
     $identity = new DomainIdentity("test.com");
     $sesClient = $this->getMockBuilder('\\Aws\\Ses\\SesClient')->disableOriginalConstructor()->setMethods(['setIdentityDkimEnabled'])->getMock();
     $sesClient->expects($this->once())->method('setIdentityDkimEnabled')->with($this->equalTo(['DkimEnabled' => false, 'Identity' => $identity->getIdentity()]));
     $manager = new DomainManager($sesClient, $identity);
     $manager->disableDkim();
 }
 public function testGetDomain()
 {
     $sesIdentity = new DomainIdentity("test.com");
     $this->assertEquals("test.com", $sesIdentity->getDomain());
 }