test_class.declarator: instance
test_class.modifier: private
test_class.original_string: private ThreadLocalTenantService instance;
test_class.type: ThreadLocalTenantService
test_class.var_name: instance
test_class.file: dddlib-datasource-saas/src/test/java/org/dayatang/datasource4saas/tenantservice/ThreadLocalTenantServiceTest.java
test_class.identifier: ThreadLocalTenantServiceTest
test_case.body: @Test
  	public void test() {
  		assertNull(instance.getTenant());
  		String tenant = "abc";
  		ThreadLocalTenantHolder.setTenant(tenant);
  		assertEquals(tenant, instance.getTenant());
  		ThreadLocalTenantHolder.removeTenant();
  		assertNull(instance.getTenant());
  	}
test_case.class_method_signature: ThreadLocalTenantServiceTest.test()
test_case.full_signature: @Test public void test()
test_case.identifier: test
test_case.invocations: assertNull getTenant setTenant assertEquals getTenant removeTenant assertNull getTenant
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test()
focal_class.file: dddlib-datasource-saas/src/main/java/org/dayatang/datasource4saas/tenantservice/ThreadLocalTenantService.java
focal_class.identifier: ThreadLocalTenantService
focal_class.interfaces: implements TenantService
focal_class.class_method_signature: ThreadLocalTenantService.getTenant()
focal_class.full_signature: @Override public String getTenant()
focal_class.identifier: getTenant
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getTenant()
focal_method.body: @Override
  	public String getTenant() {
  		return ThreadLocalTenantHolder.getTenant();
  	}
focal_method.class_method_signature: ThreadLocalTenantService.getTenant()
focal_method.full_signature: @Override public String getTenant()
focal_method.identifier: getTenant
focal_method.invocations: getTenant
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getTenant()