/** Test that comparator is defined. */ public static void testGetComparator() throws Exception { assert (WritableComparator.get(Frob.class) instanceof FrobComparator); }