In reply to chr_sue:
Ah ok, sorry, maybe I didn´t describe the situation correctly. In my testbench, I instantiated a DUT, a virtual interface and use run_test() to run the UVM test. The UVM test contains a UVM environment which contains a UVM agent which contains a UVM driver. The driver is connected to the virtual interface, which is connected to the DUT. When drawing that onto a paper, it looks like the connection between driver and DUT is going through the boundaries of the other classes (like “test”).
But you are right indeed, it´s just connecting the driver and the DUT.