private static String generateQuery(String query, Object... parameters) {
		assertThatParamsCanBeBound(query, parameters);
		int paramIndex = 0;
		while (query.contains(TOKEN)) {
			Object parameter = parameters[paramIndex++];
			query = bindParamIntoQuery(query, parameter);
		}
		return query;
	}