assertTrue(msg, expected.equals(size.exec(t)));
// Tuple size
Tuple suspect = Util.createTuple(new String[]{"key1", "str1"});
size = new TupleSize();
msg = "[Testing TupleSize on input type: Tuple]";
expected = new Long(2);
Tuple suspectStuffer = TupleFactory.getInstance().newTuple(1);
suspectStuffer.set(0, suspect);
assertTrue(msg, expected.equals(size.exec(suspectStuffer)));
// Tuple size again
int expectedSize = 4;
Tuple suspect2 = TupleFactory.getInstance().newTuple(expectedSize);
suspect2.set(0, a);
suspect2.set(1, s);
suspect2.set(2, b);
suspect2.set(3, suspect);
expected = new Long(expectedSize);
size = new TupleSize();
msg = "[Testing TupleSize on input type: Tuple]";
suspectStuffer.set(0, suspect2);
assertTrue(msg, expected.equals(size.exec(suspectStuffer)));