device.setFallbackDevice(fallbackDevice);
final DefaultDevice testDefaultDevice =
new DefaultDevice("test device", new HashMap(), null);
testDefaultDevice.setFallbackDevice(device);
final InternalDevice testDevice =
INTERNAL_DEVICE_FACTORY.createInternalDevice(testDefaultDevice);
final LinkedList styles = new LinkedList();
RuntimeThemeCreator.addParentRules(policyMock, testDevice, styles);
assertEquals(2, styles.size());
assertEquals("fallback device rule", styles.get(0));