### Question:
AbstractPhantomJsMojo extends AbstractMojo { protected String getPhantomJsBinary() { if (StringUtils.isBlank(this.phantomJsBinary)) { this.phantomJsBinary = getPhantomJsBinaryProperty(); } return this.phantomJsBinary; } @Inject  AbstractPhantomJsMojo(MavenProject mavenProject); final void execute();  }### Answer:
@Test public void testGetPhantomJsBinary() { mojo.setPhantomJsBinary(BINARY_PATH); assertThat(mojo.getPhantomJsBinary()).isEqualTo(BINARY_PATH); }