### Question:
InstallPhantomJsMojo extends AbstractPhantomJsMojo implements PhantomJsResolverOptions { @Override public Source getSource() { return this.source; } @Inject  InstallPhantomJsMojo(MavenProject mavenProject,
                              RepositorySystem repositorySystem,
                              PhantomJsResolver phantomJsResolver); @Override Source getSource(); @Override String getVersion(); @Override boolean isCheckSystemPath(); @Override String getEnforceVersion(); @Override String getBaseUrl(); @Override File getOutputDirectory(); void run();  }### Answer:
@Test public void testGetSource() { mojo.setSource(PhantomJsResolverOptions.Source.REPOSITORY); assertThat(mojo.getSource()).isEqualTo(PhantomJsResolverOptions.Source.REPOSITORY); }