How to verify if two bits of a 32 bit register are swapped?

In reply to jaswanth_b:

In reply to jaswanth_b:
suppose there is a 32bit reg:
we write the value

'h0000_0001

but reg will get updated as

'h0000_0002

we read the value but it returns

'h0000_0001

Any use case to verify this scenario in Register access tests?