### Question:
RangeFactory { public static Range createShardRange(String shard) { Key start = new Key(shard); Key end = new Key(shard + NULL_BYTE_STRING); 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 testBuildShardRange() { String shard = "20190314_0"; Range shardRange = RangeFactory.createShardRange(shard); String expectedEndKeyRow = shard + RangeFactory.NULL_BYTE_STRING; assertEquals(shard, shardRange.getStartKey().getRow().toString()); assertEquals(expectedEndKeyRow, shardRange.getEndKey().getRow().toString()); }