### Question:
InstallPhantomJsMojo extends AbstractPhantomJsMojo implements PhantomJsResolverOptions { @Override public String getVersion() { return this.version; } @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 testGetVersion() { mojo.setVersion(VERSION); assertThat(mojo.getVersion()).isEqualTo(VERSION); }