Configuration config = new Configuration();
ArgTypeMetaExtractor target = new ArgTypeMetaExtractor(config);
String sourceCodeString = "package hoge.foo; public class Sample { public Sample() {}\r\n public void doSomething(String str) { System.out.println(\"aaaa\") } }";
target.initialize(sourceCodeString);
String argsAreaString = "String str";
target.doExtract(argsAreaString);
assertEquals(target.getExtractedMetaList().size(), 1);
assertEquals(target.getExtractedMetaList().get(0).name, "String");
assertEquals(target.getExtractedNameList().size(), 1);
assertEquals(target.getExtractedNameList().get(0), "str");
}