@Test public void isDeployableMuleApplicationLightPackageTestJarFromArtifact() throws ValidationException { projectInformationBuilder .withPackaging(MULE_APPLICATION.toString()) .withClassifier(MULE_APPLICATION + "-" + LIGHT_PACKAGE) .isDeployment(true) .withDeployments(singletonList(deploymentConfigurationMock)); String artifactName = "my-project-" + MULE_APPLICATION + "-" + LIGHT_PACKAGE + "-" + TEST_JAR + ".jar"; when(deploymentConfigurationMock.getArtifact()).thenReturn(new File(artifactName)); validator = new ProjectDeploymentValidator(projectInformationBuilder.build()); validator.isDeployable(); }
public void isDeployable() throws ValidationException { if (projectInformation.isDeployment()) { validateIsDeployable(); } }
ProjectDeploymentValidator { public void isDeployable() throws ValidationException { if (projectInformation.isDeployment()) { validateIsDeployable(); } } }
ProjectDeploymentValidator { public void isDeployable() throws ValidationException { if (projectInformation.isDeployment()) { validateIsDeployable(); } } ProjectDeploymentValidator(ProjectInformation projectInformation); }
ProjectDeploymentValidator { public void isDeployable() throws ValidationException { if (projectInformation.isDeployment()) { validateIsDeployable(); } } ProjectDeploymentValidator(ProjectInformation projectInformation); ProjectInformation getDefaultProjectInformation(); void isDeployable(); }
ProjectDeploymentValidator { public void isDeployable() throws ValidationException { if (projectInformation.isDeployment()) { validateIsDeployable(); } } ProjectDeploymentValidator(ProjectInformation projectInformation); ProjectInformation getDefaultProjectInformation(); void isDeployable();  }