/**
* Test getting a device using HttpHeaders.
*/
public void testGetDeviceUsingServletHttpHeadersWithSuppliedDefault() throws Exception {
TemporaryFileManager manager = new TemporaryFileManager(
new TestDeviceRepositoryCreator());
manager.executeWith(new TemporaryFileExecutor() {
public void execute(File file) throws Exception {
final DeviceRepositoryFactory factory =
DeviceRepositoryFactory.getDefaultInstance();
final URL deviceRepositoryUrl = file.toURL();