blob: a4ddeeb097b024801fc7f89aaa3e6ce20439ee22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.traccar.helper;
import org.traccar.database.IdentityManager;
import org.traccar.model.Device;
public class TestIdentityManager implements IdentityManager {
@Override
public Device getDeviceById(long id) {
return null;
}
@Override
public Device getDeviceByUniqueId(String imei) {
Device device = new Device();
device.setId(new Long(1));
device.setUniqueId("123456789012345");
return device;
}
}
|