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