@Test(expected = ValidationException.class) public void isDeployableMuleApplicationTemplate() throws ValidationException { projectInformationBuilder .withPackaging(MULE_APPLICATION.toString()) .withClassifier(MULE_APPLICATION_TEMPLATE.toString()) .isDeployment(true) .withDeployments(singletonList(deploymentConfigurationMock)); 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();  }