@Test
public void testHead() {

  List<String> list = newTestList();
  Option.Match<String, Boolean> match = new Option.Match<String, Boolean>() {
    @Override
    public Boolean some(String s) {
      return true;
    }
    @Override
    public Boolean none() {
      return false;
    }
  };
  assertTrue(head(list).fold(match));
  List<String> empty = list();
  assertFalse(head(empty).fold(match));
}