chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hi,
I have a class with three constuctors and I want to mock all three constructors. Do I declare three mockobjects to do this as such:

MockObj C1 = MockManager.MockObject(TypeOf(Something),Constructor.Mocked)

MockObj C2 = MockManager.MockObject(TypeOf(Something),Constructor.Mocked,null)

MockObj C3 = MockManager.MockObject(TypeOf(Something),Constructor.Mock,null,null)

Or is there any easier way to do this?
asked by BjP (1.1k points)

1 Answer

0 votes
Hi
Can please give me more details about the test?
What are you trying to test here?
answered by ohad (35.4k points)
...