aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/TestIdentityManager.java
blob: 0cc1e786c5cb0e8997f23152d18885970f7444b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
    }

}