assertNotNull("Valid device should be found", device);
assertEquals("Device name should match", defaultDeviceName,
device.getName());
// Default device should be ignoired if a valid device can be extracted from headers
headers.addHeader("User-Agent", "Nokia3330/");
device = repository.getDevice(headers, defaultDeviceName);
assertNotNull("Valid device should be found", device);
assertEquals("Device name should match", "Nokia-3330",
device.getName());
}