/** * @covers WindowsAzure\ServiceRuntime\Internal\RoleInstance::getFaultDomain */ public function testGetFaultDomain() { $faultDomain = 3; // Setup $roleInstance = new RoleInstance(null, $faultDomain, null, null); // Test $this->assertEquals($faultDomain, $roleInstance->getFaultDomain()); }