### Question:
ColumnQualifier implements WritableComparable<ColumnQualifier> { public ColumnQualifier() { } ColumnQualifier();  ColumnQualifier(String cf, String qualifier);  ColumnQualifier(byte[] cf, byte[] qualifier);  ColumnQualifier(String cf, String qualifier, ValueType type, int maxValueLength);  ColumnQualifier(String cf, String qualifier, ValueType type, int maxValueLength,
      ValuePartition vp);  ColumnQualifier(byte[] cf, byte[] qualifier, ValueType type, int maxValueLength,
      ValuePartition vp); String getColumnFamilyString(); String getQualifierString(); byte[] getColumnFamily(); byte[] getQualifier(); ValuePartition getValuePartition(); void readFields(DataInput in); void write(DataOutput out); @Override boolean equals(Object cq); int hashCode(); @Override int compareTo(ColumnQualifier cq); int getMaxValueLength(); ValueType getType(); String toString();  }### Answer:
@Test public void testColumnQualifier() throws Exception { ColumnQualifier cq = new ColumnQualifier("cf", "cq"); assertEquals("Column family not match with acutal value.", "cf", cq.getColumnFamilyString()); assertEquals("Column qualifier not match with actual value.", "cq", cq.getQualifierString()); assertEquals("Column family bytes not match with actual value.", 0, Bytes.compareTo(Bytes.toBytes("cf"), cq.getColumnFamily())); assertEquals("Column qualifier bytes not match with actual value.", 0, Bytes.compareTo(Bytes.toBytes("cq"), cq.getQualifier())); }