Cover modes in spi

Hi, SPI has different modes(cpol,cphase) of working and i am using them as configuration and it can not be sampled from the interface so how i cover all modes(0 to 3) of spi in coverage is it possible or not please answer.

Thank you.

In reply to m_v:

You can create a monitor on the SPI interface that the detects mode switching and sends out a transaction to a coverage collector every time the mode switches.