@Test(expected = MongoValidationException.class)
public void buildMalformedPKTest() throws MongoValidationException {

    TableMetadataBuilder tableMetaBuilder = new TableMetadataBuilder(DB_NAME, COLLECTION_NAME, CLUSTER_NAME);
    tableMetaBuilder.addColumn(ROW_NAME, VARCHAR_COLUMN_TYPE).addColumn(OTHER_ROW_NAME, new ColumnType(DataType.SET));
    tableMetaBuilder.withPartitionKey(OTHER_ROW_NAME);
    TableMetadata tableMetadata = tableMetaBuilder.build();
    Row row = new Row();
    row.addCell(OTHER_ROW_NAME, new Cell(Collections.EMPTY_SET));
    StorageUtils.buildPK(tableMetadata, row);
}