@Test public void setNonExistentTestMuleFolder() { expectedException.expect(IllegalArgumentException.class); expectedException.expectMessage("The folder must exists"); this.builder.withTestMule(new File("fake")); }
public MulePackageBuilder withTestMule(File folder) { checkArgument(folder != null, "The folder must not be null"); checkArgument(folder.exists(), "The folder must exists"); testMule = folder; return this; }
MulePackageBuilder implements PackageBuilder { public MulePackageBuilder withTestMule(File folder) { checkArgument(folder != null, "The folder must not be null"); checkArgument(folder.exists(), "The folder must exists"); testMule = folder; return this; } }
MulePackageBuilder implements PackageBuilder { public MulePackageBuilder withTestMule(File folder) { checkArgument(folder != null, "The folder must not be null"); checkArgument(folder.exists(), "The folder must exists"); testMule = folder; return this; }  }
MulePackageBuilder implements PackageBuilder { public MulePackageBuilder withTestMule(File folder) { checkArgument(folder != null, "The folder must not be null"); checkArgument(folder.exists(), "The folder must exists"); testMule = folder; return this; }  MulePackageBuilder withClasses(File folder); MulePackageBuilder withTestClasses(File folder); MulePackageBuilder withTestMule(File folder); MulePackageBuilder withMaven(File folder); MulePackageBuilder withMuleSrc(File folder); MulePackageBuilder withMuleArtifact(File folder); MulePackageBuilder withRepository(File folder); MulePackageBuilder withRootResource(File resource); MulePackageBuilder withPackagingOptions(PackagingOptions packagingOptions); MulePackageBuilder withArchiver(MuleArchiver archiver); @Override void createPackage(Path originFolderPath, Path destinationPath); @Override void createPackage(Path destinationPath); }
MulePackageBuilder implements PackageBuilder { public MulePackageBuilder withTestMule(File folder) { checkArgument(folder != null, "The folder must not be null"); checkArgument(folder.exists(), "The folder must exists"); testMule = folder; return this; }  MulePackageBuilder withClasses(File folder); MulePackageBuilder withTestClasses(File folder); MulePackageBuilder withTestMule(File folder); MulePackageBuilder withMaven(File folder); MulePackageBuilder withMuleSrc(File folder); MulePackageBuilder withMuleArtifact(File folder); MulePackageBuilder withRepository(File folder); MulePackageBuilder withRootResource(File resource); MulePackageBuilder withPackagingOptions(PackagingOptions packagingOptions); MulePackageBuilder withArchiver(MuleArchiver archiver); @Override void createPackage(Path originFolderPath, Path destinationPath); @Override void createPackage(Path destinationPath); static final String CLASSLOADER_MODEL_JSON; }