function testCreateDomain()
 {
     //Setup
     $name = "test.com";
     $email = "*****@*****.**";
     $ns = "ns";
     $type = Domain::TYPE_DOMAIN;
     //Assert
     $client = $this->getMock(self::API_CLIENT);
     $client->expects($this->once())->method('executeApi')->with($this->equalTo('createregulardomain'), $this->equalTo(array('name' => $name, 'email' => $email, 'ns1' => 'ns1.' . $ns, 'ns2' => 'ns2.' . $ns)));
     //Do
     $api = new Rage4Api($client);
     $domain = new Domain($name, $type, $email, array(), $ns);
     $domain->create($api);
 }