### Question:
InstallPhantomJsMojo extends AbstractPhantomJsMojo implements PhantomJsResolverOptions { @Override public String getEnforceVersion() { return this.enforceVersion; } @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 testGetEnforceVersion() { mojo.setEnforceVersion("[1.9.7,)"); assertThat(mojo.getEnforceVersion()).isEqualTo("[1.9.7,)"); }