808809810811812813814815816817818
AbstractDeviceRepositoryAccessor accessor = createAccessor(deviceRepositoryFile); try { accessor.renameDevice(createConnection(), ROOT_DEVICE_NAME, "NewName"); fail("Should have had a repository exception"); } catch (RepositoryException e) {