### Question:
DecisionComponentFilter { Stream<DecisionComponentsItem> query(final Stream<DecisionComponentsItem> stream) { return stream.filter(byDrgElement()).filter(byTerm()); }    }### Answer:
@Test public void testQueryWithoutFilters() { final DecisionComponentsItem item1 = item("Can Drive?", new Decision()); final DecisionComponentsItem item2 = item("Is Allowed?", new Decision()); final DecisionComponentsItem item3 = item("Age", new InputData()); final DecisionComponentsItem item4 = item("Name", new InputData()); final Stream<DecisionComponentsItem> stream = Stream.of(item1, item2, item3, item4); final Stream<DecisionComponentsItem> query = filter.query(stream); final List<DecisionComponentsItem> actualResult = query.collect(Collectors.toList()); final List<DecisionComponentsItem> expectedResult = asList(item1, item2, item3, item4); assertEquals(expectedResult, actualResult); }