test_class.declarator: FIELD_NAME = "spine.test.event.ProjectCreated.project_id"
test_class.modifier: private static final
test_class.original_string: private static final String FIELD_NAME = "spine.test.event.ProjectCreated.project_id";
test_class.type: String
test_class.var_name: FIELD_NAME
test_class.declarator: eventFactory =
              newInstance(MatchesStreamQueryTest.class)
test_class.modifier: private static final
test_class.original_string: private static final TestEventFactory eventFactory =
              newInstance(MatchesStreamQueryTest.class);
test_class.type: TestEventFactory
test_class.var_name: eventFactory
test_class.file: server/src/test/java/io/spine/server/event/store/MatchesStreamQueryTest.java
test_class.identifier: MatchesStreamQueryTest
test_case.body: @Test
      @DisplayName("match proper records")
      void matchProperRecords() {
          ProjectId properValue = generate();
          Event event = eventWith(properValue);
          MatchesStreamQuery predicate = queryWith(FIELD_NAME, properValue);
          assertTrue(predicate.test(event));
      }
test_case.class_method_signature: MatchesStreamQueryTest.matchProperRecords()
test_case.full_signature: @Test @DisplayName("match proper records") void matchProperRecords()
test_case.identifier: matchProperRecords
test_case.invocations: generate eventWith queryWith assertTrue test
test_case.modifiers: @Test @DisplayName("match proper records")
test_case.parameters: ()
test_case.return: void
test_case.signature: void matchProperRecords()
focal_class.declarator: filterList
focal_class.modifier: private final
focal_class.original_string: private final List<EventFilter> filterList;
focal_class.type: List<EventFilter>
focal_class.var_name: filterList
focal_class.file: server/src/main/java/io/spine/server/event/store/MatchesStreamQuery.java
focal_class.identifier: MatchesStreamQuery
focal_class.interfaces: implements Predicate<Event>
focal_class.class_method_signature: MatchesStreamQuery.MatchesStreamQuery(EventStreamQuery query)
focal_class.full_signature:   MatchesStreamQuery(EventStreamQuery query)
focal_class.identifier: MatchesStreamQuery
focal_class.parameters: (EventStreamQuery query)
focal_class.signature:  MatchesStreamQuery(EventStreamQuery query)
focal_class.class_method_signature: MatchesStreamQuery.test(@Nullable Event input)
focal_class.full_signature: @Override public boolean test(@Nullable Event input)
focal_class.identifier: test
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable Event input)
focal_class.return: boolean
focal_class.signature: boolean test(@Nullable Event input)
focal_method.body: @Override
      public boolean test(@Nullable Event input) {
          checkNotNull(input);
          if (filterList.isEmpty()) {
              return true; // No filters specified.
          }
          // Check if one of the filters matches. If so, the event matches.
          for (EventFilter filter : filterList) {
              Predicate<Event> filterPredicate = new MatchFilter(filter);
              if (filterPredicate.test(input)) {
                  return true;
              }
          }
          return false;
      }
focal_method.class_method_signature: MatchesStreamQuery.test(@Nullable Event input)
focal_method.full_signature: @Override public boolean test(@Nullable Event input)
focal_method.identifier: test
focal_method.invocations: checkNotNull isEmpty test
focal_method.modifiers: @Override public
focal_method.parameters: (@Nullable Event input)
focal_method.return: boolean
focal_method.signature: boolean test(@Nullable Event input)