### Question:
EdgeKey { public static EdgeKeyBuilder newBuilder() { return new EdgeKeyBuilder(); } private  EdgeKey(EDGE_FORMAT format, STATS_TYPE statsType, String sourceData, String sinkData, String family, String sourceRelationship,
                    String sinkRelationship, String sourceAttribute1, String sinkAttribute1, String yyyymmdd, String attribute3, String attribute2,
                    Text colvis, long timestamp, boolean deleted, DATE_TYPE dateType); static EdgeKeyBuilder newBuilder(); static EdgeKeyBuilder newBuilder(EdgeKey edgeKey); static EdgeKeyBuilder newBuilder(EdgeKey.EDGE_FORMAT format); static EdgeKey swapSourceSink(EdgeKey swap); static EdgeKey decode(Key key); static EdgeKey decodeForInternal(Key key); Key encode(); Key encodeLegacyProtobufKey(); Key encodeLegacyAttribute2Key(); Key encodeLegacyKey(); Key getMetadataKey(); static Key getMetadataKey(Key key); EDGE_FORMAT getFormat(); STATS_TYPE getStatsType(); String getSourceData(); String getSinkData(); String getType(); String getRelationship(); String getSourceRelationship(); String getSinkRelationship(); String getAttribute1(); String getSourceAttribute1(); String getSinkAttribute1(); boolean hasAttribute2(); String getAttribute2(); boolean hasAttribute3(); String getAttribute3(); String getYyyymmdd(); DATE_TYPE getDateType(); Text getColvis(); long getTimestamp(); boolean isDeleted(); boolean isStatsKey(); @Override int hashCode(); @Override boolean equals(Object obj); static DATE_TYPE getDateType(Key key); static final char COL_SEPARATOR; static final String COL_SEPARATOR_STR; static final byte COL_SEPARATOR_BYTE; static final char COL_SUB_SEPARATOR; }### Answer:
@Test public void testNewBuilder() { verifyEdgeKey(refBuilder.build()); }
@Test public void testClearFields() { EdgeKeyBuilder anotherBuilder = EdgeKey.newBuilder(); assertNotEquals(refBuilder, anotherBuilder); refBuilder.clearFields(); anotherBuilder.clearFields(); assertEquals(refBuilder, anotherBuilder); }