Hi all,
I have a class "Abc", in which I have some read only property (Context). In constructor of "Abc" class I am setting value to read only property using a private variable (_context). e.g Abc() {_context=new Xyz();}
I want to create a test case, in which I want to mock Xyz class and return value to _context. So that I can fill context using some fake data.
Kindly let me know is it possible to mock class with values. Thanks