// Path: liquid/src/test/java/io/lqd/sdk/factory/FactoryGirl.java
// public class FactoryGirl {
// 
//     private static final SecureRandom random = new SecureRandom();
// 
// 
//     public static LQNetworkRequest createRequest() {
//         return new LQNetworkRequest(randomString(), "GET", randomString());
//     }
// 
//     public static LQEvent createEvent() {
//         return new LQEvent(randomString(), null);
//     }
// 
// 
//     public static LQDevice createDevice(Context c) {
//         return new LQDevice(c, Liquid.LIQUID_VERSION);
//     }
// 
//     public static LQDataPoint createDataPoint(Context c) {
//         return new LQDataPoint(createUser(), createDevice(c), createEvent(), new ArrayList<LQValue>());
//     }
// 
//     public static LQEvent createEvent(HashMap<String, Object> attrs) {
//         return new LQEvent(randomString(), attrs);
//     }
// 
//     public static LQUser createUser() {
//         return new LQUser(randomString());
//     }
// 
// 
//     private static String randomString() {
//         return new BigInteger(130, random).toString(32);
//     }
// 
// }


import android.location.Location;
import org.json.JSONObject;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import io.lqd.sdk.factory.FactoryGirl;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
package io.lqd.sdk.model;






@Config(manifest = "../AndroidManifest.xml")
@RunWith(RobolectricTestRunner.class)
public class LQDeviceTest {

    private LQDevice device;
    private JSONObject json;

    @Before
    public void before() {
// Path: liquid/src/test/java/io/lqd/sdk/factory/FactoryGirl.java
// public class FactoryGirl {
// 
//     private static final SecureRandom random = new SecureRandom();
// 
// 
//     public static LQNetworkRequest createRequest() {
//         return new LQNetworkRequest(randomString(), "GET", randomString());
//     }
// 
//     public static LQEvent createEvent() {
//         return new LQEvent(randomString(), null);
//     }
// 
// 
//     public static LQDevice createDevice(Context c) {
//         return new LQDevice(c, Liquid.LIQUID_VERSION);
//     }
// 
//     public static LQDataPoint createDataPoint(Context c) {
//         return new LQDataPoint(createUser(), createDevice(c), createEvent(), new ArrayList<LQValue>());
//     }
// 
//     public static LQEvent createEvent(HashMap<String, Object> attrs) {
//         return new LQEvent(randomString(), attrs);
//     }
// 
//     public static LQUser createUser() {
//         return new LQUser(randomString());
//     }
// 
// 
//     private static String randomString() {
//         return new BigInteger(130, random).toString(32);
//     }
// 
// }


// Path: liquid/src/test/java/io/lqd/sdk/model/LQDeviceTest.java
import android.location.Location;
import org.json.JSONObject;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import io.lqd.sdk.factory.FactoryGirl;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

package io.lqd.sdk.model;






@Config(manifest = "../AndroidManifest.xml")
@RunWith(RobolectricTestRunner.class)
public class LQDeviceTest {

    private LQDevice device;
    private JSONObject json;

    @Before
    public void before() {
        device = FactoryGirl.createDevice(Robolectric.application);