### Question:
DriverChecker { static List<String> getActions(String glVendor, String driverVersion, Map<String, String> configMap) { List<String> actions = null; for (Map.Entry<String, String> entry : configMap.entrySet()) { String[] tokens = entry.getKey().split(":"); String vendor = tokens[0]; String versionFragment = tokens[1]; if (glVendor.startsWith(vendor) && driverVersion.startsWith(versionFragment) && !versionFragment.isEmpty()) { actions = New.list(entry.getValue().split(",")); } } return actions; } DriverChecker(Component component, Preferences prefs, PreferencesRegistry preferencesRegistry,
            String displayListPrefsKey); void checkGraphicsDriver(GL gl);  }### Answer:
@Test public void testGetActionsNvidia() { Assert.assertNull(DriverChecker.getActions("NVIDIA Corporation", "369.49", UNSUPPORTED_DRIVERS)); }
@Test public void testGetActionsAtiGood() { Assert.assertNull(DriverChecker.getActions("ATI Technologies Inc.", "15.201.2201.0", UNSUPPORTED_DRIVERS)); }
@Test public void testGetActionsAtiBad() { Assert.assertEquals(New.list("disableTooltips"), DriverChecker.getActions("ATI Technologies Inc.", "14.501.1003.0", UNSUPPORTED_DRIVERS)); }