In reply to Srinivasa Rao Kurdhana :
A simple UVM testbench. Hmm, that is a top module, a driver BFM and a monitor BFM, an environment class, agent class, driver class, monitor class, sequence item class and a few sequences plus corresponding test classes, wrapped up in a package. 500-1000 lines of code, no sweat!
Have a look on VerificationAcademy.com, such as the UVM Cookbook examples. 2.5, 2.6, and 2.8 use the SPI protocol.
A quick Google search yields many hits including this example ready to run.