test_class.file: shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/test/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinitionFactoryTest.java
test_class.identifier: XADataSourceDefinitionFactoryTest
test_case.body: @Test
      public void assertCreateXAPropertiesForPostgreSQL() {
          assertThat(XADataSourceDefinitionFactory.getXADataSourceDefinition(DatabaseTypes.getActualDatabaseType("PostgreSQL")), instanceOf(PostgreSQLXADataSourceDefinition.class));
      }
test_case.class_method_signature: XADataSourceDefinitionFactoryTest.assertCreateXAPropertiesForPostgreSQL()
test_case.full_signature: @Test public void assertCreateXAPropertiesForPostgreSQL()
test_case.identifier: assertCreateXAPropertiesForPostgreSQL
test_case.invocations: assertThat getXADataSourceDefinition getActualDatabaseType instanceOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertCreateXAPropertiesForPostgreSQL()
focal_class.declarator: XA_DATA_SOURCE_DEFINITIONS = new HashMap<>()
focal_class.modifier: private static final
focal_class.original_string: private static final Map<DatabaseType, XADataSourceDefinition> XA_DATA_SOURCE_DEFINITIONS = new HashMap<>();
focal_class.type: Map<DatabaseType, XADataSourceDefinition>
focal_class.var_name: XA_DATA_SOURCE_DEFINITIONS
focal_class.file: shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/datasource/properties/XADataSourceDefinitionFactory.java
focal_class.identifier: XADataSourceDefinitionFactory
focal_class.class_method_signature: XADataSourceDefinitionFactory.getXADataSourceDefinition(final DatabaseType databaseType)
focal_class.full_signature: public static XADataSourceDefinition getXADataSourceDefinition(final DatabaseType databaseType)
focal_class.identifier: getXADataSourceDefinition
focal_class.modifiers: public static
focal_class.parameters: (final DatabaseType databaseType)
focal_class.return: XADataSourceDefinition
focal_class.signature: XADataSourceDefinition getXADataSourceDefinition(final DatabaseType databaseType)
focal_method.body: public static XADataSourceDefinition getXADataSourceDefinition(final DatabaseType databaseType) {
          return XA_DATA_SOURCE_DEFINITIONS.get(databaseType);
      }
focal_method.class_method_signature: XADataSourceDefinitionFactory.getXADataSourceDefinition(final DatabaseType databaseType)
focal_method.full_signature: public static XADataSourceDefinition getXADataSourceDefinition(final DatabaseType databaseType)
focal_method.identifier: getXADataSourceDefinition
focal_method.invocations: get
focal_method.modifiers: public static
focal_method.parameters: (final DatabaseType databaseType)
focal_method.return: XADataSourceDefinition
focal_method.signature: XADataSourceDefinition getXADataSourceDefinition(final DatabaseType databaseType)