MavenInvokerRequester extends IArtifactRequester { protected File getPomFileFromContext() { return new File(basedir, POM_FILENAME); } MavenInvokerRequester(File basedir);  MavenInvokerRequester(File basedir, URL sourceRepositoryUrl);  MavenInvokerRequester(File basedir, DefaultInvoker defaultInvoker, Optional<URL> sourceRepositoryUrl); @Override Optional<File> requestFile(Coordinate mavenCoordinate, Path targetDirectory, ClassifierInformation classifierInformation); static final String POM_FILENAME; }
@Test public void getPomFileSanityCheck() { File pomFile = mir.getPomFileFromContext(); assertThat(pomFile.toString()).endsWith(MavenInvokerRequester.POM_FILENAME); }