IndexRowKeyBuilder { public IndexRowKeyBuilder withUUID(UUID uuid) { checkNotNull(uuid, "UUID must not be null"); this.uuid = uuid; return this; } private  IndexRowKeyBuilder(); static IndexRowKeyBuilder newBuilder(long tableId,
                                                long indexId); IndexRowKeyBuilder withSortOrder(SortOrder order); IndexRowKeyBuilder withRow(Row row,
                                      String indexName,
                                      TableSchema tableSchema); IndexRowKeyBuilder withQueryKey(QueryKey queryKey,
                                           TableSchema tableSchema); IndexRowKeyBuilder withUUID(UUID uuid); IndexRowKey build();  }
@Test(expected = NullPointerException.class) public void testBuilderNullUUID() { builder.withUUID(null); }
@Test public void testBuilderUUID() { assertNotNull(builder.withUUID(UUID.randomUUID())); }