@Test(timeout = 4000)
  public void test05() throws Throwable {
    WorkspaceSnapshot workspaceSnapshot0 = new WorkspaceSnapshot();
    Product product0 = new Product();
    workspaceSnapshot0.definingProduct = product0;
    DefaultConfiguration defaultConfiguration0 = new DefaultConfiguration();
    NoConnectionProvider noConnectionProvider0 =
        (NoConnectionProvider) defaultConfiguration0.connectionProvider();
    SQLDialect sQLDialect0 = SQLDialect.SQLITE;
    Settings settings0 = new Settings();
    DefaultDSLContext defaultDSLContext0 =
        new DefaultDSLContext(noConnectionProvider0, sQLDialect0, settings0);
    // Undeclared exception!
    try {
      workspaceSnapshot0.loadDefiningProduct(defaultDSLContext0);
      fail("Expecting exception: RuntimeException");

    } catch (RuntimeException e) {
      //
      // Cannot execute query. No Connection configured
      //
      assertThrownBy("org.jooq.impl.AbstractQuery", e);
    }
  }
 @Bean
 @ConditionalOnMissingBean(org.jooq.Configuration.class)
 public DefaultConfiguration jooqConfiguration() {
   DefaultConfiguration configuration = new DefaultConfiguration();
   if (!StringUtils.isEmpty(this.properties.getSqlDialect())) {
     configuration.set(SQLDialect.valueOf(this.properties.getSqlDialect()));
   }
   configuration.set(this.connectionProvider);
   if (this.transactionProvider != null) {
     configuration.set(this.transactionProvider);
   }
   if (this.recordMapperProvider != null) {
     configuration.set(this.recordMapperProvider);
   }
   if (this.settings != null) {
     configuration.set(this.settings);
   }
   configuration.set(this.recordListenerProviders);
   configuration.set(this.executeListenerProviders);
   configuration.set(this.visitListenerProviders);
   return configuration;
 }