### Question:
SqlFileUpdateQuery extends SqlFileModifyQuery implements UpdateQuery { @Override public void prepare() { super.prepare(); assertNotNull(method, sqlFilePath); initEntityHandler(); preUpdate(); prepareOptimisticLock(); prepareOptions(); prepareTargetPropertyTypes(); prepareExecutable(); prepareSql(); assertNotNull(sql); } SqlFileUpdateQuery(); @Override void prepare(); @Override void incrementVersion(); @SuppressWarnings("unchecked") E getEntity(Class<E> entityType); @Override void complete(); @Override void setEntityAndEntityType(String name, E entity, EntityType<E> entityType); void setNullExcluded(boolean nullExcluded); void setVersionIgnored(boolean versionIgnored); void setOptimisticLockExceptionSuppressed(boolean optimisticLockExceptionSuppressed); void setUnchangedPropertyIncluded(Boolean unchangedPropertyIncluded);  }### Answer:
@Test public void testNonEntity() { SqlFileUpdateQuery query = new SqlFileUpdateQuery(); query.setMethod(method); query.setSqlFilePath( "META-INF/org/seasar/doma/jdbc/query/SqlFileUpdateQueryTest/testNonEntity.sql"); query.setConfig(runtimeConfig); query.setCallerClassName("aaa"); query.setCallerMethodName("bbb"); query.setSqlLogType(SqlLogType.FORMATTED); query.addParameter("id", Integer.class, 10); query.addParameter("name", String.class, "aaa"); query.addParameter("version", Integer.class, 100); query.prepare(); PreparedSql sql = ((UpdateQuery) query).getSql(); assertEquals("update aaa set NAME = ?, VERSION = ? + 1 where id = ?", sql.getRawSql()); assertEquals( "update aaa set NAME = 'aaa', VERSION = 100 + 1 where id = 10", sql.getFormattedSql()); List<? extends InParameter<?>> parameters = sql.getParameters(); assertEquals(3, parameters.size()); assertEquals("aaa", parameters.get(0).getWrapper().get()); assertEquals(100, parameters.get(1).getWrapper().get()); assertEquals(10, parameters.get(2).getWrapper().get()); assertTrue(query.isExecutable()); }