public void execute(File repository) throws Exception {
EclipseDeviceRepository accessor = new
EclipseDeviceRepository(repository.getPath(),
transformerMetaFactory, jdomFactory, false, true, null);
accessor.moveDevice("doesNotExistDevice", "parent");
fail("RepositoryException was not thrown for non existent device");
}
});
} catch (RepositoryException e) {
// expected