// Path: src/test/java/org/minnal/autopojo/SimpleEnum.java
// public enum SimpleEnum {
// 
// 	value1, value2, value3
// }


import org.testng.annotations.Test;
import static org.testng.Assert.assertEquals;
import org.minnal.autopojo.SimpleEnum;
/**
 * 
 */
package org.minnal.autopojo.resolver;



/**
 * @author ganeshs
 *
 */
public class EnumReoslverTest {

	@Test
	public void shouldGenerateEnum() {
		EnumResolver resolver = new EnumResolver();
// Path: src/test/java/org/minnal/autopojo/SimpleEnum.java
// public enum SimpleEnum {
// 
// 	value1, value2, value3
// }


// Path: src/test/java/org/minnal/autopojo/resolver/EnumReoslverTest.java
import org.testng.annotations.Test;
import static org.testng.Assert.assertEquals;
import org.minnal.autopojo.SimpleEnum;

/**
 * 
 */
package org.minnal.autopojo.resolver;



/**
 * @author ganeshs
 *
 */
public class EnumReoslverTest {

	@Test
	public void shouldGenerateEnum() {
		EnumResolver resolver = new EnumResolver();
		assertEquals(resolver.resolve(SimpleEnum.class, 1), SimpleEnum.value1);