### Question:
UpdateBuilder { public <P> UpdateBuilder literal(Class<P> paramClass, P param) { if (paramClass == null) { throw new DomaNullPointerException("paramClass"); } return appendParam(paramClass, param, true); } 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 testLiteral() { UpdateBuilder builder = UpdateBuilder.newInstance(new MockConfig()); builder.sql("update Emp"); builder.sql("set"); builder.sql("name = ").literal(String.class, "SMITH").sql(","); builder.sql("salary = ").literal(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 = 'SMITH',%n" + "salary = 1000%n" + "where%n" + "ID = ?"); assertEquals(sql, builder.getSql().getRawSql()); builder.execute(); }