use of org.codice.ddf.catalog.ui.query.monitor.api.WorkspaceMetacardFilter in project ddf by codice.
the class TestWorkspaceServiceImpl method setup.
@Before
public void setup() {
catalogFramework = mock(CatalogFramework.class);
filterBuilder = mock(FilterBuilder.class);
workspaceTransformer = mock(WorkspaceTransformer.class);
filterService = mock(FilterService.class);
securityService = mock(SecurityService.class);
WorkspaceMetacardFilter workspaceMetacardFilter = mock(WorkspaceMetacardFilter.class);
when(workspaceMetacardFilter.filter(any())).thenReturn(true);
workspaceService = new WorkspaceServiceImpl(catalogFramework, filterBuilder, workspaceTransformer, filterService, securityService);
}
Aggregations