@Test
public void buildPKTest() throws MongoValidationException {

    TableMetadataBuilder tableMetaBuilder = new TableMetadataBuilder(DB_NAME, COLLECTION_NAME, CLUSTER_NAME);
    tableMetaBuilder.addColumn(ROW_NAME, VARCHAR_COLUMN_TYPE).addColumn(OTHER_ROW_NAME, INT_COLUMN_TYPE);
    tableMetaBuilder.withPartitionKey(ROW_NAME);
    TableMetadata tableMetadata = tableMetaBuilder.build();
    Row row = new Row();
    row.addCell(ROW_NAME, new Cell(CELL_VALUE));
    row.addCell(OTHER_ROW_NAME, new Cell(OTHER_CELL_VALUE));
    Object pk = StorageUtils.buildPK(tableMetadata, row);
    assertEquals("The value is not the expected", CELL_VALUE, (String) pk);
}