### Question:
LiteDeviceResolver implements DeviceResolver { protected List<String> getNormalUserAgentKeywords() { return normalUserAgentKeywords; } LiteDeviceResolver();  LiteDeviceResolver(List<String> normalUserAgentKeywords); Device resolveDevice(HttpServletRequest request);  }### Answer:
@Test public void normalDeviceMobileOverride() { String[] normalDevices = new String[] { "android", "iphone" }; resolver.getNormalUserAgentKeywords().addAll(Arrays.asList(normalDevices)); request.setUserAgentHeader(UserAgent.IPHONE_IOS5_STRING); assertNormal(request); assertUnknownPlatform(request); }
@Test public void normalDeviceTabletOverride() { String[] normalDevices = new String[] { "ipad" }; resolver.getNormalUserAgentKeywords().addAll(Arrays.asList(normalDevices)); request.setUserAgentHeader(UserAgent.IPAD_IOS5_STRING); assertNormal(request); assertUnknownPlatform(request); }