### Question:
BaseUniqueKeyFormatter implements UniqueKeyFormatter { @Override public String formatFamily(byte[] family) { Preconditions.checkNotNull(family, "family"); return encodeAsString(family); }  @Override String formatRow(byte[] row); @Override String formatFamily(byte[] family); @Override String formatKeyValue(KeyValue keyValue); @Override byte[] unformatRow(String keyString); @Override byte[] unformatFamily(String familyString); @Override KeyValue unformatKeyValue(String keyValueString);  }### Answer:
@Test(expected = NullPointerException.class) public void testFormatFamily_Null() { createFormatter().formatFamily(null); }