test_class.declarator: service
test_class.modifier: private
test_class.original_string: private CommandService service;
test_class.type: CommandService
test_class.var_name: service
test_class.declarator: boundedContexts = Sets.newHashSet()
test_class.modifier: private final
test_class.original_string: private final Set<BoundedContext> boundedContexts = Sets.newHashSet();
test_class.type: Set<BoundedContext>
test_class.var_name: boundedContexts
test_class.declarator: projectsContext
test_class.modifier: private
test_class.original_string: private BoundedContext projectsContext;
test_class.type: BoundedContext
test_class.var_name: projectsContext
test_class.declarator: customersContext
test_class.modifier: private
test_class.original_string: private BoundedContext customersContext;
test_class.type: BoundedContext
test_class.var_name: customersContext
test_class.declarator: responseObserver = memoizingObserver()
test_class.modifier: private final
test_class.original_string: private final MemoizingObserver<Ack> responseObserver = memoizingObserver();
test_class.type: MemoizingObserver<Ack>
test_class.var_name: responseObserver
test_class.file: server/src/test/java/io/spine/server/CommandServiceTest.java
test_class.identifier: CommandServiceTest
test_case.body: @Test
      @DisplayName("never retrieve removed bounded contexts from builder")
      void notRetrieveRemovedBc() {
          CommandService.Builder builder = CommandService
                  .newBuilder()
                  .add(projectsContext)
                  .add(customersContext)
                  .remove(projectsContext);
  
          // Create BoundedContext map.
          CommandService service = builder.build();
          assertNotNull(service);
  
          assertTrue(builder.contains(customersContext));
          assertFalse(builder.contains(projectsContext));
      }
test_case.class_method_signature: CommandServiceTest.notRetrieveRemovedBc()
test_case.full_signature: @Test @DisplayName("never retrieve removed bounded contexts from builder") void notRetrieveRemovedBc()
test_case.identifier: notRetrieveRemovedBc
test_case.invocations: remove add add newBuilder build assertNotNull assertTrue contains assertFalse contains
test_case.modifiers: @Test @DisplayName("never retrieve removed bounded contexts from builder")
test_case.parameters: ()
test_case.return: void
test_case.signature: void notRetrieveRemovedBc()
focal_class.declarator: commandToContext
focal_class.modifier: private final
focal_class.original_string: private final ImmutableMap<CommandClass, BoundedContext> commandToContext;
focal_class.type: ImmutableMap<CommandClass, BoundedContext>
focal_class.var_name: commandToContext
focal_class.file: server/src/main/java/io/spine/server/CommandService.java
focal_class.identifier: CommandService
focal_class.interfaces: implements Logging
focal_class.class_method_signature: CommandService.CommandService(Map<CommandClass, BoundedContext> map)
focal_class.full_signature: private  CommandService(Map<CommandClass, BoundedContext> map)
focal_class.identifier: CommandService
focal_class.modifiers: private
focal_class.parameters: (Map<CommandClass, BoundedContext> map)
focal_class.signature:  CommandService(Map<CommandClass, BoundedContext> map)
focal_class.class_method_signature: CommandService.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: CommandService.post(Command request, StreamObserver<Ack> responseObserver)
focal_class.full_signature: @Override public void post(Command request, StreamObserver<Ack> responseObserver)
focal_class.identifier: post
focal_class.modifiers: @Override public
focal_class.parameters: (Command request, StreamObserver<Ack> responseObserver)
focal_class.return: void
focal_class.signature: void post(Command request, StreamObserver<Ack> responseObserver)
focal_class.class_method_signature: CommandService.handleUnsupported(Command command, StreamObserver<Ack> responseObserver)
focal_class.full_signature: private void handleUnsupported(Command command, StreamObserver<Ack> responseObserver)
focal_class.identifier: handleUnsupported
focal_class.modifiers: private
focal_class.parameters: (Command command, StreamObserver<Ack> responseObserver)
focal_class.return: void
focal_class.signature: void handleUnsupported(Command command, StreamObserver<Ack> responseObserver)
focal_class.superclass: extends CommandServiceGrpc.CommandServiceImplBase
focal_method.body: public static Builder newBuilder() {
          return new Builder();
      }
focal_method.class_method_signature: CommandService.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()