Which expectations to use for multiple primary keys with null values

hi all ,
can anyone help which expecations to use for multiple primary keys ?