assertEquals("doSomething", actual.get(2).methodMeta.name);
}
@Test
public void getNewTestCaseSourceCode_A$_JUnit3() throws Exception {
Configuration config = new Configuration();
config.junitVersion = JUnitVersion.version3;
TestCaseGeneratorImpl target = new TestCaseGeneratorImpl(config, lineBreakProvider);
String sourceCodeString = "package hoge.foo; import java.util.List;\r\nimport java.util.Map; public class Sample { public Sample() {}\r\n public int doSomething(String str, long longValue) throws Throwable { System.out.println(\"aaaa\"); } public void doSomething(List<Map<String, String>> nested, Map<String,Map<String,String>> nested2) { } }";
ClassMeta targetClassMeta = classMetaExtractor.extract(sourceCodeString);
target.initialize(targetClassMeta);