test_class.declarator: boundedContexts
test_class.modifier: private
test_class.original_string: private Set<BoundedContext> boundedContexts;
test_class.type: Set<BoundedContext>
test_class.var_name: boundedContexts
test_class.declarator: service
test_class.modifier: private
test_class.original_string: private QueryService service;
test_class.type: QueryService
test_class.var_name: service
test_class.declarator: responseObserver
test_class.modifier: private
test_class.original_string: private MemoizingObserver<QueryResponse> responseObserver;
test_class.type: MemoizingObserver<QueryResponse>
test_class.var_name: responseObserver
test_class.file: server/src/test/java/io/spine/server/QueryServiceTest.java
test_class.identifier: QueryServiceTest
test_case.body: @Test
      @DisplayName("fail to create with Bounded Context removed from builder")
      void notCreateWithRemovedBc() {
          BoundedContext boundedContext = BoundedContextBuilder.assumingTests().build();
          QueryService.Builder builder = QueryService.newBuilder();
          assertThrows(IllegalStateException.class, () -> builder.add(boundedContext)
                                                                 .remove(boundedContext)
                                                                 .build());
      }
test_case.class_method_signature: QueryServiceTest.notCreateWithRemovedBc()
test_case.full_signature: @Test @DisplayName("fail to create with Bounded Context removed from builder") void notCreateWithRemovedBc()
test_case.identifier: notCreateWithRemovedBc
test_case.invocations: build assumingTests newBuilder assertThrows build remove add
test_case.modifiers: @Test @DisplayName("fail to create with Bounded Context removed from builder")
test_case.parameters: ()
test_case.return: void
test_case.signature: void notCreateWithRemovedBc()
focal_class.declarator: typeToContextMap
focal_class.modifier: private final
focal_class.original_string: private final ImmutableMap<TypeUrl, BoundedContext> typeToContextMap;
focal_class.type: ImmutableMap<TypeUrl, BoundedContext>
focal_class.var_name: typeToContextMap
focal_class.file: server/src/main/java/io/spine/server/QueryService.java
focal_class.identifier: QueryService
focal_class.interfaces: implements Logging
focal_class.class_method_signature: QueryService.QueryService(Map<TypeUrl, BoundedContext> map)
focal_class.full_signature: private  QueryService(Map<TypeUrl, BoundedContext> map)
focal_class.identifier: QueryService
focal_class.modifiers: private
focal_class.parameters: (Map<TypeUrl, BoundedContext> map)
focal_class.signature:  QueryService(Map<TypeUrl, BoundedContext> map)
focal_class.class_method_signature: QueryService.newBuilder()
focal_class.full_signature: public static Builder newBuilder()
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Builder
focal_class.signature: Builder newBuilder()
focal_class.class_method_signature: QueryService.read(Query query, StreamObserver<QueryResponse> responseObserver)
focal_class.full_signature: @Override public void read(Query query, StreamObserver<QueryResponse> responseObserver)
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: (Query query, StreamObserver<QueryResponse> responseObserver)
focal_class.return: void
focal_class.signature: void read(Query query, StreamObserver<QueryResponse> responseObserver)
focal_class.class_method_signature: QueryService.handleQuery(BoundedContext context,
                               Query query,
                               StreamObserver<QueryResponse> responseObserver)
focal_class.full_signature: private void handleQuery(BoundedContext context,
                               Query query,
                               StreamObserver<QueryResponse> responseObserver)
focal_class.identifier: handleQuery
focal_class.modifiers: private
focal_class.parameters: (BoundedContext context,
                               Query query,
                               StreamObserver<QueryResponse> responseObserver)
focal_class.return: void
focal_class.signature: void handleQuery(BoundedContext context,
                               Query query,
                               StreamObserver<QueryResponse> responseObserver)
focal_class.class_method_signature: QueryService.handleUnsupported(TypeUrl type, StreamObserver<QueryResponse> observer)
focal_class.full_signature: private void handleUnsupported(TypeUrl type, StreamObserver<QueryResponse> observer)
focal_class.identifier: handleUnsupported
focal_class.modifiers: private
focal_class.parameters: (TypeUrl type, StreamObserver<QueryResponse> observer)
focal_class.return: void
focal_class.signature: void handleUnsupported(TypeUrl type, StreamObserver<QueryResponse> observer)
focal_class.superclass: extends QueryServiceGrpc.QueryServiceImplBase
focal_method.body: public static Builder newBuilder() {
          return new Builder();
      }
focal_method.class_method_signature: QueryService.newBuilder()
focal_method.full_signature: public static Builder newBuilder()
focal_method.identifier: newBuilder
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: Builder
focal_method.signature: Builder newBuilder()