Mule-JUnit FunctionalTestCase getConfigResources(),我应该使用什么返回语句?

Mule-JUnit FunctionalTestCase getConfigResources(),我应该使用什么返回语句?,mule,Mule,从Mule in Action第二版电子书中,我看到了第1章中的以下代码片段 public class ProductRegistrationFunctionalTestCase extends FunctionalTestCase { protected String getConfigResources() { return "./src/main/app/product_registration.xml"; } ... 我看到了第12章的内容 publi

从Mule in Action第二版电子书中,我看到了第1章中的以下代码片段

public class ProductRegistrationFunctionalTestCase extends FunctionalTestCase {
    protected String getConfigResources() {
        return "./src/main/app/product_registration.xml";
    } ...
我看到了第12章的内容

 public class TransformingBridgeTestCase extends FunctionalTestCase {
    protected String getConfigResources()
    {
       return "functional-test-connectors.xml,jms-transforming-bridge.xml";
    }...
关于getConfigResources()返回语句,我有两个问题

(1) 为什么是./src/main/。。。第12章中的示例中不需要


(2) 第12章示例中的return语句中有两个xml,它在幕后是如何工作的?

getConfigResources()应该返回一个逗号分隔的资源列表,这些资源可以从类路径加载。返回值由连接到FunctionalTestCase的ConfigurationBuilder解析,并使用参考资料实例化MuleContext。您需要使用完整的src/main。。。如果类路径中没有应用程序文件夹,则使用应用程序根文件夹的路径。

“如果类路径中没有应用程序文件夹,则需要使用应用程序根文件夹的完整src/main…路径。”如何将应用程序文件夹放在类路径中?