### Question:
VariantHbaseUtil { public static boolean isInsertion(Variant var) { return isInsertion(var.getReference(), var.getAlternate(), var.getType()); }  static Variant inferAndSetType(Variant var); static VariantType inferType(Variant var); static boolean isInsertion(Variant var); static boolean isInsertion(String ref, String alt, VariantType type); static VariantType inferType(String ref, String alt);  }### Answer:
@Test public void isInsertion() throws Exception { assertTrue(VariantHbaseUtil.isInsertion(".","A", VariantType.INSERTION)); assertTrue(VariantHbaseUtil.isInsertion(".","A", VariantType.INDEL)); assertFalse(VariantHbaseUtil.isInsertion("A",".", VariantType.INDEL)); }