private String [] fields = {"a", "b", "c", "d", "e", "f", "g", "h", "i"};
@Test
public void test() throws Exception {
ToCassandraBag tcb = new ToCassandraBag();
UDFContext context = UDFContext.getUDFContext();
Properties properties = context.getUDFProperties(ToCassandraBag.class);
Tuple input = new DefaultTuple();
StringBuilder builder = new StringBuilder();
for (int i = 0; i < fields.length; i++){
builder.append(fields[i]);
input.append("foo" + i);