@Before
 public void setupMojoProps() {
   config.sources = sources;
   config.specs = specs;
   config.manualSpecRunnerHtmlFileName = MANUAL_RUNNER_NAME;
   config.jasmineTargetDir = jasmineTargetDir;
   config.sourceEncoding = SOURCE_ENCODING;
   config.customRunnerTemplate = customRunnerTemplate;
   config.preloadSources = PRELOAD_SOURCES;
   config.specRunnerTemplate = SpecRunnerTemplate.DEFAULT;
   config.customRunnerTemplate = customRunnerTemplate;
   config.mavenProject = mock(MavenProject.class);
 }
  public TargetDirScriptResolver(final AbstractJasmineMojo configuration) throws IOException {
    this.baseDir = configuration.getJasmineTargetDir();
    this.preloads = configuration.getPreloadSources();
    this.scriptSearchSources =
        searchForDir(
            new File(this.baseDir, configuration.getSrcDirectoryName()),
            configuration.getSources());
    this.scriptSearchSpecs =
        searchForDir(
            new File(this.baseDir, configuration.getSpecDirectoryName()), configuration.getSpecs());

    resolveScripts();
  }
 @Before
 public void fakeLogging() {
   config.setLog(log);
 }