### Question:
SqlFileScriptQuery extends AbstractQuery implements ScriptQuery { @Override public void prepare() { super.prepare(); assertNotNull(scriptFilePath, blockDelimiter); sqlAnnotation = method.getAnnotation(org.seasar.doma.Sql.class); if (sqlAnnotation == null) { assertTrue(scriptFilePath.startsWith(Constants.SCRIPT_PATH_PREFIX)); assertTrue(scriptFilePath.endsWith(Constants.SCRIPT_PATH_SUFFIX)); ScriptFileLoader loader = config.getScriptFileLoader(); String dbmsSpecificPath = ScriptFileUtil.convertToDbmsSpecificPath(scriptFilePath, config.getDialect()); scriptFileUrl = loader.loadAsURL(dbmsSpecificPath); if (scriptFileUrl != null) { scriptFilePath = dbmsSpecificPath; } else { scriptFileUrl = loader.loadAsURL(scriptFilePath); if (scriptFileUrl == null) { throw new ScriptFileNotFoundException(scriptFilePath); } } } if (blockDelimiter.isEmpty()) { blockDelimiter = config.getDialect().getScriptBlockDelimiter(); } }  void setScriptFilePath(String scriptFilePath); void setBlockDelimiter(String blockDelimiter); void setHaltOnError(boolean haltOnError); void setSqlLogType(SqlLogType sqlLogType); @Override void prepare(); @Override void complete(); @Override int getQueryTimeout(); @Override Sql<?> getSql(); @Override String getScriptFilePath(); @Override URL getScriptFileUrl(); Supplier<Reader> getReaderSupplier(); @Override String getBlockDelimiter(); @Override boolean getHaltOnError(); SqlLogType getSqlLogType();  }### Answer:
@Test public void testPrepare() { SqlFileScriptQuery query = new SqlFileScriptQuery(); query.setConfig(config); query.setMethod(method); query.setCallerClassName("aaa"); query.setCallerMethodName("bbb"); query.setScriptFilePath( "META-INF/org/seasar/doma/jdbc/query/SqlFileScriptQueryTest/testPrepare.script"); query.setBlockDelimiter(""); query.prepare(); assertEquals(config, query.getConfig()); assertEquals("aaa", query.getClassName()); assertEquals("bbb", query.getMethodName()); assertEquals( "META-INF/org/seasar/doma/jdbc/query/SqlFileScriptQueryTest/testPrepare.script", query.getScriptFilePath()); assertNotNull(query.getScriptFileUrl()); assertNull(query.getBlockDelimiter()); }