test_class.file: server/src/test/java/io/spine/server/tenant/CurrentTenantTest.java
test_class.identifier: CurrentTenantTest
test_case.body: @Test
      @DisplayName("reject default value")
      void rejectDefaultValue() {
          assertThrows(IllegalArgumentException.class,
                       () -> CurrentTenant.set(TenantId.getDefaultInstance()));
      }
test_case.class_method_signature: CurrentTenantTest.rejectDefaultValue()
test_case.full_signature: @Test @DisplayName("reject default value") void rejectDefaultValue()
test_case.identifier: rejectDefaultValue
test_case.invocations: assertThrows set getDefaultInstance
test_case.modifiers: @Test @DisplayName("reject default value")
test_case.parameters: ()
test_case.return: void
test_case.signature: void rejectDefaultValue()
focal_class.declarator: threadLocal = new ThreadLocal<>()
focal_class.modifier: private static final
focal_class.original_string: private static final ThreadLocal<TenantId> threadLocal = new ThreadLocal<>();
focal_class.type: ThreadLocal<TenantId>
focal_class.var_name: threadLocal
focal_class.file: server/src/main/java/io/spine/server/tenant/CurrentTenant.java
focal_class.identifier: CurrentTenant
focal_class.class_method_signature: CurrentTenant.CurrentTenant()
focal_class.full_signature: private  CurrentTenant()
focal_class.identifier: CurrentTenant
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  CurrentTenant()
focal_class.class_method_signature: CurrentTenant.get()
focal_class.full_signature: static Optional<TenantId> get()
focal_class.identifier: get
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: Optional<TenantId>
focal_class.signature: Optional<TenantId> get()
focal_class.class_method_signature: CurrentTenant.ensure()
focal_class.full_signature: static TenantId ensure()
focal_class.identifier: ensure
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: TenantId
focal_class.signature: TenantId ensure()
focal_class.class_method_signature: CurrentTenant.set(TenantId tenantId)
focal_class.full_signature: static void set(TenantId tenantId)
focal_class.identifier: set
focal_class.modifiers: static
focal_class.parameters: (TenantId tenantId)
focal_class.return: void
focal_class.signature: void set(TenantId tenantId)
focal_class.class_method_signature: CurrentTenant.clear()
focal_class.full_signature: static void clear()
focal_class.identifier: clear
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_method.body: static void set(TenantId tenantId) {
          checkNotDefaultArg(tenantId, "A tenant ID must not be a default value.");
          threadLocal.set(tenantId);
      }
focal_method.class_method_signature: CurrentTenant.set(TenantId tenantId)
focal_method.full_signature: static void set(TenantId tenantId)
focal_method.identifier: set
focal_method.invocations: checkNotDefaultArg set
focal_method.modifiers: static
focal_method.parameters: (TenantId tenantId)
focal_method.return: void
focal_method.signature: void set(TenantId tenantId)