@Test
public void addProjectForProjectExcludeOperator() {

  Project project = Mockito.mock(Project.class);
  when(project.isExcluded()).thenReturn(true);
  UnresolvedPlan plan = UnresolvedPlanHelper.addSelectAll(project);
  assertTrue(plan instanceof Project);
  assertThat(((Project) plan).getProjectList(), Matchers.contains(AllFields.of()));
}