  @Test
  public void intToLongType(){

    Fields fields = new Fields("A", Integer.class);
    PredicateLeaf.Type fieldsType = toType(fields);

    assertThat(fieldsType, is (PredicateLeaf.Type.LONG));
  }