title: Passing parameters to maven plugin while writing unit tests
body: <p>I have a maven mojo plugin with parameters like this:</p>
  
  <pre><code>public class SomeMojoPlugin
      extends AbstractMojo
  {
      @Parameter( property = "templatefile", required = true )
      private File templateFile;
  </code></pre>
  
  <p>And I want to write unit tests for this plugin.
  How to pass this property/parameter "templatefile" in test methods?</p>