public function testCheckDomainReturnsCorrectData()
 {
     $domain = new Domain();
     $domain->setId(1);
     $this->setMockResponse($this->client, array('domains/checkDomain'));
     $domain = $this->client->checkDomain($domain);
     $this->assertInstanceOf('\\Mgrt\\Model\\Domain', $domain);
 }
Example #2
0
 public function checkDomain(Domain $domain)
 {
     $command = $this->getCommand('CheckDomain', array('domainId' => $domain->getId()));
     return $this->execute($command);
 }