@Test public void getFileNameMuleApplicationExampleLighPackageTest() { mojo.lightweightPackage = true; String classifier = Classifier.MULE_APPLICATION_EXAMPLE.toString(); when(projectMock.getPackaging()).thenReturn(MULE_APPLICATION); mojo.classifier = classifier; String expectedFileName = FINAL_NAME + "-" + classifier + "-" + LIGHT_PACKAGE_CLASSIFIER + "." + TYPE; assertThat("Final name is not the expected", mojo.getFileName(), equalTo(expectedFileName)); }
protected String getFileName() { return project.getBuild().getFinalName() + "-" + getClassifier() + "." + getType(); }
PackageMojo extends AbstractMuleMojo { protected String getFileName() { return project.getBuild().getFinalName() + "-" + getClassifier() + "." + getType(); } }
PackageMojo extends AbstractMuleMojo { protected String getFileName() { return project.getBuild().getFinalName() + "-" + getClassifier() + "." + getType(); }  }
PackageMojo extends AbstractMuleMojo { protected String getFileName() { return project.getBuild().getFinalName() + "-" + getClassifier() + "." + getType(); }  @Override void doExecute(); @Override String getPreviousRunPlaceholder(); }
PackageMojo extends AbstractMuleMojo { protected String getFileName() { return project.getBuild().getFinalName() + "-" + getClassifier() + "." + getType(); }  @Override void doExecute(); @Override String getPreviousRunPlaceholder();  }