### Question:
LSql { public void executeRawSql(String sql) { Statement st = this.createStatement(); try { st.execute(sql); } catch (SQLException e) { throw new RuntimeException(e); } } LSql(Class<? extends Config> configClass, Callable<Connection> connectionProvider);  LSql(Class<? extends Config> configClass, DataSource dataSource); void clearTables(); Callable<Connection> getConnectionProvider(); Iterable<Table> getTables(); Iterable<PojoTable<?>> getPojoTables(); ObjectMapper getObjectMapper(); void setObjectMapper(ObjectMapper objectMapper); InitColumnCallback getInitColumnCallback(); void setInitColumnCallback(InitColumnCallback initColumnCallback); Class<? extends GenericDialect> getDialectClass(); LSqlFile readSqlFile(Class clazz, String fileName); LSqlFile readSqlFile(Class<?> clazz); synchronized Table table(String javaSchemaAndTableName); synchronized Table tableBySqlName(String sqlSchemaAndTableName); @SuppressWarnings("unchecked") @Deprecated synchronized PojoTable<T> table(String tableName, Class<T> pojoClass); Statement createStatement(); void executeRawSql(String sql); @Deprecated PlainQuery executeRawQuery(String sql); @Deprecated PojoQuery<T> executeRawQuery(String sql, Class<T> pojoClass); AnnotatedSqlStatementToQuery<PlainQuery> createSqlStatement(String sqlString); AnnotatedSqlStatementToQuery<PlainQuery> createSqlStatement(String sqlString, String sourceName, String stmtName); String convertExternalSqlToInternalSql(String externalSql); String convertInternalSqlToExternalSql(String internalSql); String convertInternalSqlToRowKey(String internalSql); String convertRowKeyToInternalSql(String rowKey); Converter getConverterForSqlType(int sqlType); Converter getConverterForJavaType(Class<?> clazz); Converter getConverterForAlias(String alias); String getSqlSchemaAndTableNameFromResultSetMetaData(
            ResultSetMetaData metaData, int columnIndex); Optional<Object> extractGeneratedPk(Table table, ResultSet resultSet); StatementCreator getStatementCreator(); String getSqlColumnNameFromResultSetMetaData(
            ResultSetMetaData metaData, int columnIndex); Converter getConverterForTableColumn(String schemaAndTableName, String javaColumnName, int sqlType); boolean isUseColumnTypeForConverterLookupInQueries(); Config getConfig(); @Override String toString(); static final ObjectMapper OBJECT_MAPPER; }### Answer:
@Test public void execute() { createTable("CREATE TABLE table1 (name TEXT, age INT)"); lSql.executeRawSql("INSERT INTO table1 (name, age) VALUES ('cus1', 20)"); }
@Test(expectedExceptions = RuntimeException.class) public void executeShouldThrowRuntimeExceptionOnWrongStatement() { lSql.executeRawSql("CREATE TABLE table1 (name TEXT, age INT)"); lSql.executeRawSql("INSERT INTO tableX (name, age) VALUES ('cus1', 20)"); }