public void TestMethod2()
 {
     string source = FileUtil.ReadAllText(path);
     IMethodRetriever retriever = new MethodBodyRetriever();
     retriever.setSource(source);
     String[] bodies = retriever.getMethodBodies();
     Assert.IsTrue(bodies[1].StartsWith("string source = FileUtil.ReadAllText(path);"));
     Assert.IsTrue(bodies[0].StartsWith("string source = FileUtil.ReadAllText(path);"));
     Assert.IsTrue(bodies[0].EndsWith("Assert.IsTrue(retriever.getMethodBodiesCount() == TEST_METHODS_COUNT);\r\n"));
     Assert.IsTrue(bodies[0].Contains("IMethodBodyRetriever retriever = new MethodBodyRetriever();"));
     Assert.IsTrue(bodies[0].Contains("retriever.setSource(source);"));
 }