@Test
public void testGetOrElse() throws Exception {

  final Tuple get = new Tuple("get");
  final Tuple orElse = new Tuple("else");
  List<Tuple> results = TestHelpers.exec(
      new GetOrElse(orElse, "field"),
      new Fields("blah"),
      new Tuple(get),
      new Tuple((Object)null));
  assertEquals(Arrays.asList(new Tuple(get), new Tuple(orElse)), results);
}