diff options
Diffstat (limited to 'test/org/traccar/helper/TestIdentityManager.java')
-rw-r--r-- | test/org/traccar/helper/TestIdentityManager.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/org/traccar/helper/TestIdentityManager.java b/test/org/traccar/helper/TestIdentityManager.java new file mode 100644 index 000000000..0cc1e786c --- /dev/null +++ b/test/org/traccar/helper/TestIdentityManager.java @@ -0,0 +1,16 @@ +package org.traccar.helper; + +import org.traccar.database.IdentityManager; +import org.traccar.model.Device; + +public class TestIdentityManager implements IdentityManager { + + @Override + public Device getDeviceByUniqueId(String imei) { + Device device = new Device(); + device.setId(new Long(1)); + device.setUniqueId("123456789012345"); + return device; + } + +} |