this.matcher = matcher;
List descriptors = Collections.emptyList();
when(scanner.scan(Mockito.any(File.class), Mockito.any(String.class), Mockito.any(Scope.class))).thenReturn(descriptors);
EclipsePluginProject pdeProject = mock(EclipsePluginProject.class);
BuildProperties properties = mock(BuildProperties.class);
when(properties.getBinExcludes()).thenReturn(excludes);
when(properties.getBinIncludes()).thenReturn(includes);
when(project.getContextValue(TychoConstants.CTX_ECLIPSE_PLUGIN_PROJECT)).thenReturn(pdeProject);
when(pdeProject.getBuildProperties()).thenReturn(properties);
when(project.getBasedir()).thenReturn(new File(getClass().getResource(".").getFile()));
Artifact artifact = mock(Artifact.class);
when(artifact.getType()).thenReturn("jar");
when(artifact.getGroupId()).thenReturn("group");
when(artifact.getArtifactId()).thenReturn("artifact");