// Path: src/main/java/in/cubestack/android/lib/storm/SortOrder.java
// public enum SortOrder {
//     ASC,
//     DESC
// }
// 
// Path: src/main/java/in/cubestack/android/lib/storm/core/EntityMetaDataCache.java
// public class EntityMetaDataCache {
//     private static final Map<String, TableInformation> cache = new HashMap<String, TableInformation>();
//     
//     private static AliasGenerator aliasGenerator = new AliasGenerator();
// 
//     public static void cacheInformation(Class<?> entityClass, TableInformation metaData) {
//         cache.put(entityClass.getName(), metaData);
//     }
// 
//     public static TableInformation getMetaData(Class<?> entityClass) throws IllegalArgumentException, IllegalAccessException, InstantiationException, StormException {
//         TableInformation tableInformation = cache.get(entityClass.getName());
//         if (tableInformation == null) {
//             synchronized (EntityMetaDataCache.class) {
//                 if (cache.get(entityClass.getName()) == null) {
//                     tableInformation = new MetaDataReader().readAnnotations(entityClass, aliasGenerator);
//                     cacheInformation(entityClass, tableInformation);
//                 }
//             }
//         }
//         return tableInformation;
//     }
// }
// 
// Path: src/main/java/in/cubestack/android/lib/storm/core/StormException.java
// public class StormException extends Exception {
// 
// 	private static final long serialVersionUID = -563476450614494464L;
// 
// 	public StormException(Throwable throwable) {
// 		super(throwable);
// 	}
// 	
// 	public StormException(String msg) {
// 		super(msg);
// 	}
// 
// 	public StormException(String msg, Exception exception) {
// 		super(msg, exception);
// 	}
// 	
// 	
// }
// 
// Path: src/main/java/in/cubestack/android/lib/storm/core/StormRuntimeException.java
// public class StormRuntimeException extends RuntimeException {
// 
// 	private static final long serialVersionUID = -563476450614494464L;
// 
// 	
// 	public StormRuntimeException(String msg) {
// 		super(msg);
// 	}
// 
// 
// 	public StormRuntimeException(String msg, Exception ex) {
// 		super(msg, ex);
// 	}
// 	
// 	
// }
// 
// Path: src/test/java/in/cubestack/apps/android/storm/entitites/RestrictionTestEntity.java
// @Table(name = "TEST_TAB")
// public class RestrictionTestEntity {
// 
// 	@PrimaryKey
// 	@Column(name = "ID", type = FieldType.INTEGER)
// 	private int id;
// 
// 	@Column(name = "NAME", type = FieldType.TEXT)
// 	private String name;
// 
// 	@Column(name = "HOURS", type = FieldType.TEXT)
// 	private int hours;
// 	
// 	@Column(name = "RATE", type = FieldType.REAL)
// 	private float rate;
// 	
// 	@Column(name = "COST", type = FieldType.REAL)
// 	private double cost;
// 	
// }


import java.util.Arrays;
import org.junit.Assert;
import org.junit.Test;
import in.cubestack.android.lib.storm.SortOrder;
import in.cubestack.android.lib.storm.core.EntityMetaDataCache;
import in.cubestack.android.lib.storm.core.StormException;
import in.cubestack.android.lib.storm.core.StormRuntimeException;
import in.cubestack.apps.android.storm.entitites.RestrictionTestEntity;

/**
 * 
 */
package in.cubestack.android.lib.storm.criteria;




/**
 * A core Android SQLite ORM framework build for speed and raw execution.
 * Copyright (c) 2014 CubeStack. Version built for Flash Back..
 * <p/>
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * <p/>
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * <p/>
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
public class StormRestrictionTest {

	private Restrictions restrictions;


// Path: src/main/java/in/cubestack/android/lib/storm/SortOrder.java
// public enum SortOrder {
//     ASC,
//     DESC
// }
// 
// Path: src/main/java/in/cubestack/android/lib/storm/core/EntityMetaDataCache.java
// public class EntityMetaDataCache {
//     private static final Map<String, TableInformation> cache = new HashMap<String, TableInformation>();
//     
//     private static AliasGenerator aliasGenerator = new AliasGenerator();
// 
//     public static void cacheInformation(Class<?> entityClass, TableInformation metaData) {
//         cache.put(entityClass.getName(), metaData);
//     }
// 
//     public static TableInformation getMetaData(Class<?> entityClass) throws IllegalArgumentException, IllegalAccessException, InstantiationException, StormException {
//         TableInformation tableInformation = cache.get(entityClass.getName());
//         if (tableInformation == null) {
//             synchronized (EntityMetaDataCache.class) {
//                 if (cache.get(entityClass.getName()) == null) {
//                     tableInformation = new MetaDataReader().readAnnotations(entityClass, aliasGenerator);
//                     cacheInformation(entityClass, tableInformation);
//                 }
//             }
//         }
//         return tableInformation;
//     }
// }
// 
// Path: src/main/java/in/cubestack/android/lib/storm/core/StormException.java
// public class StormException extends Exception {
// 
// 	private static final long serialVersionUID = -563476450614494464L;
// 
// 	public StormException(Throwable throwable) {
// 		super(throwable);
// 	}
// 	
// 	public StormException(String msg) {
// 		super(msg);
// 	}
// 
// 	public StormException(String msg, Exception exception) {
// 		super(msg, exception);
// 	}
// 	
// 	
// }
// 
// Path: src/main/java/in/cubestack/android/lib/storm/core/StormRuntimeException.java
// public class StormRuntimeException extends RuntimeException {
// 
// 	private static final long serialVersionUID = -563476450614494464L;
// 
// 	
// 	public StormRuntimeException(String msg) {
// 		super(msg);
// 	}
// 
// 
// 	public StormRuntimeException(String msg, Exception ex) {
// 		super(msg, ex);
// 	}
// 	
// 	
// }
// 
// Path: src/test/java/in/cubestack/apps/android/storm/entitites/RestrictionTestEntity.java
// @Table(name = "TEST_TAB")
// public class RestrictionTestEntity {
// 
// 	@PrimaryKey
// 	@Column(name = "ID", type = FieldType.INTEGER)
// 	private int id;
// 
// 	@Column(name = "NAME", type = FieldType.TEXT)
// 	private String name;
// 
// 	@Column(name = "HOURS", type = FieldType.TEXT)
// 	private int hours;
// 	
// 	@Column(name = "RATE", type = FieldType.REAL)
// 	private float rate;
// 	
// 	@Column(name = "COST", type = FieldType.REAL)
// 	private double cost;
// 	
// }


// Path: src/test/java/in/cubestack/android/lib/storm/criteria/StormRestrictionTest.java
import java.util.Arrays;
import org.junit.Assert;
import org.junit.Test;
import in.cubestack.android.lib.storm.SortOrder;
import in.cubestack.android.lib.storm.core.EntityMetaDataCache;
import in.cubestack.android.lib.storm.core.StormException;
import in.cubestack.android.lib.storm.core.StormRuntimeException;
import in.cubestack.apps.android.storm.entitites.RestrictionTestEntity;

/**
 * 
 */
package in.cubestack.android.lib.storm.criteria;




/**
 * A core Android SQLite ORM framework build for speed and raw execution.
 * Copyright (c) 2014 CubeStack. Version built for Flash Back..
 * <p/>
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * <p/>
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * <p/>
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
public class StormRestrictionTest {

	private Restrictions restrictions;


	@Test(expected = StormRuntimeException.class)
