
0 votes

I have a private map in an Object which values are std::unique_ptr<...>.
Is there a way to access this map from my test ? Or a pointer to the map (without modifying the Object) ? (I can't use ISOLATOR_GET_VARIABLE because of the unique_ptr)

Thank you
asked by C.BORDE (600 points)

1 Answer

0 votes

We don't support faking STD functions such as unique_ptr, if I understood correctly you are not trying to fake it but only access it?

To be honest I didn't fully understand what are you trying to achieve in your test.

Can you share an example of a test you are trying to write? or even better a small simple project?

Please keep me posted.


Alon Sapozhnikov.

Support Specialist.
answered by Alon_TypeMock (8.4k points)
edited by Alon_TypeMock