### Question:
ByteArrayExtractors { static String getFamily(String valueExpression) { return splitFamilyAndQualifier(valueExpression)[0]; }  static ByteArrayExtractor getExtractor(String fieldValueExpression, ValueSource valueSource);  }### Answer:
@Test public void testGetFamily() { assertEquals("colfam", ByteArrayExtractors.getFamily("colfam:qualifier")); }
@Test(expected = IllegalArgumentException.class) public void testGetFamily_NoColon() { ByteArrayExtractors.getFamily("colfam"); }