test_class.file: shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/test/java/org/apache/shardingsphere/proxy/frontend/protocol/DatabaseProtocolFrontendEngineFactoryTest.java
test_class.identifier: DatabaseProtocolFrontendEngineFactoryTest
test_case.body: @Test
      public void assertNewInstanceWithFixture() {
          DatabaseProtocolFrontendEngine databaseProtocolFrontendEngine = DatabaseProtocolFrontendEngineFactory.newInstance(new FixtureDatabaseType());
          assertThat(databaseProtocolFrontendEngine, instanceOf(DatabaseProtocolFrontendEngineFixture.class));
      }
test_case.class_method_signature: DatabaseProtocolFrontendEngineFactoryTest.assertNewInstanceWithFixture()
test_case.full_signature: @Test public void assertNewInstanceWithFixture()
test_case.identifier: assertNewInstanceWithFixture
test_case.invocations: newInstance assertThat instanceOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertNewInstanceWithFixture()
focal_class.file: shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/protocol/DatabaseProtocolFrontendEngineFactory.java
focal_class.identifier: DatabaseProtocolFrontendEngineFactory
focal_class.class_method_signature: DatabaseProtocolFrontendEngineFactory.newInstance(final DatabaseType databaseType)
focal_class.full_signature: public static DatabaseProtocolFrontendEngine newInstance(final DatabaseType databaseType)
focal_class.identifier: newInstance
focal_class.modifiers: public static
focal_class.parameters: (final DatabaseType databaseType)
focal_class.return: DatabaseProtocolFrontendEngine
focal_class.signature: DatabaseProtocolFrontendEngine newInstance(final DatabaseType databaseType)
focal_method.body: public static DatabaseProtocolFrontendEngine newInstance(final DatabaseType databaseType) {
          for (DatabaseProtocolFrontendEngine each : ShardingSphereServiceLoader.newServiceInstances(DatabaseProtocolFrontendEngine.class)) {
              if (DatabaseTypes.getActualDatabaseType(each.getDatabaseType()).getName().equals(databaseType.getName())) {
                  return each;
              }
          }
          throw new UnsupportedOperationException(String.format("Cannot support database type '%s'", databaseType));
      }
focal_method.class_method_signature: DatabaseProtocolFrontendEngineFactory.newInstance(final DatabaseType databaseType)
focal_method.full_signature: public static DatabaseProtocolFrontendEngine newInstance(final DatabaseType databaseType)
focal_method.identifier: newInstance
focal_method.invocations: newServiceInstances equals getName getActualDatabaseType getDatabaseType getName format
focal_method.modifiers: public static
focal_method.parameters: (final DatabaseType databaseType)
focal_method.return: DatabaseProtocolFrontendEngine
focal_method.signature: DatabaseProtocolFrontendEngine newInstance(final DatabaseType databaseType)