### Question:
InsertBuilder { public Sql<?> getSql() { if (query.getMethodName() == null) { query.setCallerMethodName("getSql"); } prepare(); return query.getSql(); } private  InsertBuilder(Config config); private  InsertBuilder(BuildingHelper builder, SqlInsertQuery query, ParamIndex parameterIndex); static InsertBuilder newInstance(Config config); InsertBuilder sql(String sql); InsertBuilder removeLast(); InsertBuilder param(Class<P> paramClass, P param); InsertBuilder literal(Class<P> paramClass, P param); int execute(); void queryTimeout(int queryTimeout); void sqlLogType(SqlLogType sqlLogType); void callerClassName(String className); void callerMethodName(String methodName); Sql<?> getSql();  }### Answer:
@Test public void testGetSql() { InsertBuilder builder = InsertBuilder.newInstance(new MockConfig()); builder.sql("insert into Emp"); builder.sql("(name, salary)"); builder.sql("values ("); builder.param(String.class, "SMITH").sql(", "); builder.param(int.class, 100).sql(")"); String sql = String.format("insert into Emp%n" + "(name, salary)%n" + "values (?, ?)"); assertEquals(sql, builder.getSql().getRawSql()); builder.execute(); }