### Question:
MantisConnector { @Nonnull Collection<FilterData> getFilters(@Nonnull ProjectData project) throws RemoteException { return Arrays.asList(connectPortType.mc_filter_get(USERNAME, PASSWORD, project.getId())); } MantisConnector();   }### Answer:
@Test public void testGetFilters() throws ServiceException, RemoteException { MantisConnector connector = new MantisConnector(); List<ProjectData> filteredProjects = getFilteredProjects(connector); for (ProjectData project : filteredProjects) { Collection<FilterData> filters = connector.getFilters(project); assertTrue( filters.stream().anyMatch(f -> f.getName().equals(MantisConnector.STANDARD_FILTER)), "Finding standard filter failed."); } }