In reply to Chandra Shekar N:
You have one agent acting as the I2C master and one acting as an I2C slave. The master agent is 'testing' the slave agent. Since the I2C protocol allows multiple devices on the bus, you need to write your tests to target the I2C DUT slave. If you don't target the correct I2C device, it will do nothing.