### Question:
RangeFactory { public static Range createDocumentSpecificRange(String shard, String docId) { Key start = new Key(shard, docId); Key end = start.followingKey(PartialKey.ROW_COLFAM); return new Range(start, true, end, false); }  static Range createDocumentSpecificRange(String shard, String docId); static Range createTldDocumentSpecificRange(String shard, String docId); static Range createShardRange(String shard); static Range createDayRange(String shard); static final String NULL_BYTE_STRING; static final String MAX_UNICODE_STRING; }### Answer:
@Test public void testBuildDocumentSpecificRange() { String shard = "20190314_0"; String docId = "docId0"; Range docRange = RangeFactory.createDocumentSpecificRange(shard, docId); String expectedEndKeyCF = docId + RangeFactory.NULL_BYTE_STRING; assertEquals(shard, docRange.getStartKey().getRow().toString()); assertEquals(docId, docRange.getStartKey().getColumnFamily().toString()); assertEquals(shard, docRange.getEndKey().getRow().toString()); assertEquals(expectedEndKeyCF, docRange.getEndKey().getColumnFamily().toString()); }