// Path: src/main/java/codemining/languagetools/ParseType.java
// public enum ParseType {
// 	COMPILATION_UNIT, CLASS_BODY, METHOD, STATEMENTS, EXPRESSION
// }


import static org.junit.Assert.assertEquals;
import java.io.File;
import java.io.IOException;
import java.util.Map;
import org.apache.commons.io.FileUtils;
import org.junit.Before;
import org.junit.Test;
import codemining.languagetools.ParseType;
package codemining.java.codeutils;





public class JavaApproximateTypeInferencerTest {

	String classContent;

	@Before
	public void setUp() throws IOException {
		classContent = FileUtils.readFileToString(new File(
				JavaAstExtractorTest.class.getClassLoader()
						.getResource("SampleClass3.txt").getFile()));
	}

	@Test
	public void test() {
		JavaASTExtractor ex = new JavaASTExtractor(false);
		JavaApproximateTypeInferencer jati = new JavaApproximateTypeInferencer(
// Path: src/main/java/codemining/languagetools/ParseType.java
// public enum ParseType {
// 	COMPILATION_UNIT, CLASS_BODY, METHOD, STATEMENTS, EXPRESSION
// }


// Path: src/test/java/codemining/java/codeutils/JavaApproximateTypeInferencerTest.java
import static org.junit.Assert.assertEquals;
import java.io.File;
import java.io.IOException;
import java.util.Map;
import org.apache.commons.io.FileUtils;
import org.junit.Before;
import org.junit.Test;
import codemining.languagetools.ParseType;

package codemining.java.codeutils;





public class JavaApproximateTypeInferencerTest {

	String classContent;

	@Before
	public void setUp() throws IOException {
		classContent = FileUtils.readFileToString(new File(
				JavaAstExtractorTest.class.getClassLoader()
						.getResource("SampleClass3.txt").getFile()));
	}

	@Test
	public void test() {
		JavaASTExtractor ex = new JavaASTExtractor(false);
		JavaApproximateTypeInferencer jati = new JavaApproximateTypeInferencer(
				ex.getAST(classContent, ParseType.COMPILATION_UNIT));