What is the easiest way to get the data in the uvm test from monitor

In reply to chr_sue:

The DUT will send the data and I have an interface to instance it…
it’s like a simple design and it only has one driver to drive the input of this design and one monitor to receive the output data. I just wonder if any easier way to get the data in the test .