Hi,
It may happen that this post appears twice to this forum - in that
case sorry for the double posting ;)
Anyhow, I have following case. For unit test case I would need to be
able to define what is the value the id field in ProtoUser returns. I
know that I could handle this by just creating a
Hi,
I would like to use ProtoUser in my unit test so that I could set it's
id's value. One way to do this is that I would create a mock object of
the ProtoUser and then define what the id returns. However, I would
rather like to use just the real class as it is. Is there a
possibility to give the