function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pushkar GauravPushkar Gaurav 

how to set up value of a field named Campaign( data type: Lookup(Campaign) ) ?

SwethaSwetha (Salesforce Developers) 
HI Pushkar,
Can you elaborate more on your ask and where exactly you are stuck?Is there an error message?

Similar post:
https://developer.salesforce.com/forums/?id=9060G0000005oIzQAI

Thanks
Pushkar GauravPushkar Gaurav
Yes this was an error message while I m writing my test class.
SwethaSwetha (Salesforce Developers) 
HI Pushkar,
You can take reference of the test class from the post https://developer.salesforce.com/forums/?id=9062I000000DOTVQA4 to get started.

If this information helps, please mark the answer as best. Thank you