### Question:
FilterResolver { public boolean hasInsituFilter() { return parameters.getInsitu() != null; } FilterResolver(IoParameters parameters); boolean hasMobileFilter(); boolean hasInsituFilter(); boolean isMobileFilter(); boolean isInsituFilter(); boolean shallIncludeAllDatasets(); boolean isSetPlatformTypeFilter(); boolean shallIncludeAllDatasetTypes(); boolean shallIncludeDatasetType(String datasetType); boolean shallIncludeAllObservationTypes(); boolean shallIncludeObservationType(String observationType); boolean shallIncludeAllValueTypes(); boolean shallIncludeValueType(String valueType);  }### Answer:
@Test public void when_defaults_then_insituFilterActive() { FilterResolver resolver = createResolver(createDefaults()); Assertions.assertFalse(resolver.hasInsituFilter()); }
@Test public void when_defaults_then_remoteFilterActive() { FilterResolver resolver = createResolver(createDefaults()); Assertions.assertFalse(resolver.hasInsituFilter()); }
@Test public void when_setAllDatasets_then_insituFilterActive() { IoParameters parameters = createDefaults(); FilterResolver resolver = createResolver(parameters); Assertions.assertFalse(resolver.hasInsituFilter()); }
@Test public void when_setAllDatasets_then_remoteFilterActive() { IoParameters parameters = createDefaults(); FilterResolver resolver = createResolver(parameters); Assertions.assertFalse(resolver.hasInsituFilter()); }