aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/TestDataManager.java
blob: 10e8999f3d45617fd0f57ce72d65ad4680687abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.traccar.helper;

import java.util.List;
import org.traccar.database.DataManager;
import org.traccar.model.Device;
import org.traccar.model.Event;
import org.traccar.model.Position;

public class TestDataManager extends DataManager {

    public TestDataManager() throws Exception {
        super(null);
    }

    @Override
    public Device getDeviceByUniqueId(String imei) {
        Device device = new Device();
        device.setId(new Long(1));
        device.setUniqueId("123456789012345");
        return device;
    }

}