final Map masterPolicies = new HashMap();
masterPolicies.put("ssversion", "none");
// Enable mcs-line-gap for Master, this *should not* be inherited.
masterPolicies.put(policy, "full");
DefaultDevice master = createDevice("Master", masterPolicies, null);
final Map pcPolicies = new HashMap();
pcPolicies.put("ssversion", DevicePolicyConstants.CSS1);
DefaultDevice pc = createDevice("PC", pcPolicies, master);
final Map pcWin32IE5Policies = new HashMap();
pcWin32IE5Policies.put("ssversion", DevicePolicyConstants.CSS2);
DefaultDevice pcWin32IE5 =
createDevice("PC-Win32-IE5", pcWin32IE5Policies, pc);
final Map pcWin32IE55Policies = new HashMap();
pcWin32IE55Policies.put("ssversion", DevicePolicyConstants.CSS2);
DefaultDevice pcWin32IE55 =
createDevice("PC-Win32-IE5.5", pcWin32IE55Policies, pcWin32IE5);
cssConfigurator.initialise(config,
INTERNAL_DEVICE_FACTORY.createInternalDevice(pcWin32IE55));
assertNull("Master property should not be inherited",