// Path: src/main/java/br/com/six2six/fixturefactory/function/impl/EnumFunction.java
// public class EnumFunction implements AtomicFunction {
// 	
// 	private Class<? extends Enum<?>> clazz;
// 	private int quantity;
// 	
// 	public EnumFunction(Class<? extends Enum<?>> clazz, int quantity) {
// 		this.clazz = clazz;
// 		this.quantity = quantity;
// 	}
// 	
// 	@SuppressWarnings("unchecked")
// 	@Override
// 	public <T> T generateValue() {
// 		List<T> results = new ArrayList<T>();
// 		AtomicFunction function = new RandomFunction(clazz);
// 		for (int i = 0; i < quantity; i++) {
// 			results.add((T) function.generateValue());
// 		}
// 		
// 		return (T) results;
// 	}
// }
// 
// Path: src/test/java/br/com/six2six/fixturefactory/model/UserType.java
// public enum UserType {
// 	ADMIN, DEFAULT
// }


import static org.junit.Assert.assertEquals;
import java.util.List;
import org.junit.Test;
import br.com.six2six.fixturefactory.function.impl.EnumFunction;
import br.com.six2six.fixturefactory.model.UserType;
package br.com.six2six.fixturefactory.function;





public class EnumFunctionTest {
	
	@Test
	public void shouldGenerateRandomEnumValues() {
// Path: src/main/java/br/com/six2six/fixturefactory/function/impl/EnumFunction.java
// public class EnumFunction implements AtomicFunction {
// 	
// 	private Class<? extends Enum<?>> clazz;
// 	private int quantity;
// 	
// 	public EnumFunction(Class<? extends Enum<?>> clazz, int quantity) {
// 		this.clazz = clazz;
// 		this.quantity = quantity;
// 	}
// 	
// 	@SuppressWarnings("unchecked")
// 	@Override
// 	public <T> T generateValue() {
// 		List<T> results = new ArrayList<T>();
// 		AtomicFunction function = new RandomFunction(clazz);
// 		for (int i = 0; i < quantity; i++) {
// 			results.add((T) function.generateValue());
// 		}
// 		
// 		return (T) results;
// 	}
// }
// 
// Path: src/test/java/br/com/six2six/fixturefactory/model/UserType.java
// public enum UserType {
// 	ADMIN, DEFAULT
// }


// Path: src/test/java/br/com/six2six/fixturefactory/function/EnumFunctionTest.java
import static org.junit.Assert.assertEquals;
import java.util.List;
import org.junit.Test;
import br.com.six2six.fixturefactory.function.impl.EnumFunction;
import br.com.six2six.fixturefactory.model.UserType;

package br.com.six2six.fixturefactory.function;





public class EnumFunctionTest {
	
	@Test
	public void shouldGenerateRandomEnumValues() {
		List<UserType> userTypes = new EnumFunction(UserType.class, 2).generateValue();